Getstats was not Y2K compatible and has been retired. Sorry that we don't have accurate instructions yet for the new software...
How do I get Access Reports from the Server?
Install Analog
How do I setup Analog to send me a report Automatically?
You should set up a cron tab to compute the daily statistics and send you a a weekly report automatically.
Additionally, you should "Nuke" the getstats log file at the start of every week to free up more disk space for you.
Here is a sample cronfile:
---------------------- 58 23 * * * /usr/local/bin/getstats -d -f | /usr/bin/mail -s "HTTP Daily Stats" stats@yourdomain.com 59 23 * * 7 /usr/local/bin/getstats -w -f | /usr/bin/mail -s "HTTP Weekly Stats" stats@yourdomain.com 01 00 1 * * /usr/local/bin/getstats -w -f -n | /usr/bin/mail -s "HTTP Monthly Stats" stats@yourdomain.com ----------------------Store this three line file in your home directory in a file called "cronfile" for example. Make sure it is only three lines. If the lines are long, let them wrap, but do not add a hard return.
Then type "crontab cronfile" in your home directory.
The first line will send a full daily report to stats@yourdomain.com each day at 23:58 (11:58 pm).
The second line will send a full weekly report at the end of each week at 23:59 (11:59 pm).
The third line will send a full monthly report and "nuke" (-n) the log file at 00:01 (12:01 am) on the first day of each month.
LOFTHOUSE PUBLISHING |
![]() |
Questions or Comments?