gftpdtool online documentation,
for version 0.2b rev 1.
I'm hurry to trade, tell me NOW!
- installation
untar the package.
- initialization
run "./gftpdtool /yeartop"
- cron
1,6,11,16,21,26,31,36,41,46,51 * * * * root /sitestuff/gftpdtool/gftpdtool >/dev/null
You're done!
thorough installation instructions
- installation
create directory anywhere and untar your gftdtool package there. edit the gftpdtool.cfg
files first line, where you specify the directory where the weektop etc statistics
are to be created. personally I like to use tops/ dir in the current gftpdtool
dir and to copy the tops into the real /.ftp-data/tops/ dir, of course it is
totally safe to let the tool to create tops there directly. its your choice.
- initialization
for the first time you run this program (or basically before you start to use
it in the site), please use "/yeartop" parameter. this parameter will
initialize the yeartop which creates database with filename "yeartop.dat"
into the tooldir. database is basically for counting users bytes yearly (you
ARE going to run your site over year, right?) :)
- example dir?
yes, the example/ dir. there are the files
- cron
add this line to your crontab, it runs the tops in five minute intervals.
1,6,11,16,21,26,31,36,41,46,51 * * * * root /sitestuff/gftpdtool/gftpdtool >/dev/null
and this is used to run the weektop database.
57 23 * * 6 root /sitestuff/gftpdtool/endofweek_backup.txt >/dev/null