Automatic/manual use


Manual

Execute the program at the commands line. Use '-h' to see options available.
After having configured the config.pl script, you can run cron-pages.pl. Wait for the process to finish and check the result. Never use again cron-pages now, use instead cron-inc.pl, it will compute incremental stats by scanning only the previous day. Cron-inc is able to scan the 7 last previous day, so you don't have to run it daily if you want. If you forget to run it for a week or more, run cron-pages or use the -s option in cron-inc (but it will be faster to use cron-pages if you are very late).
So run :

Then run : Except for hourly stats, the results will be updated from the last time you ran the scripts...you won't loose any data if you don't run the scripts every day.

If you don't see a link for the monthly or weekly stats, the reason is your logfile doesn't contains enough data to compute them at the moment. To have more informations, you can run optionnal scripts :

You can run them when you want ; once a week is enough for me. You will need to wait a day for having a link from the homepage as the update is made by cron-inc.


Automatic

You should have permission to execute cron commands (ask your administration system if you can't). You need to write the full pathname for the files to run. In your crontab file, you could write :

Core scripts
10 00 * * * /norfolk/www/w3perl/cron-inc.pl > /dev/null 2>&1
01 * * * * /norfolk/www/w3perl/cron-hour.pl > /dev/null 2>&1
00 01 * * * /norfolk/www/w3perl/cron-jour.pl > /dev/null 2>&1
30 01 * * 1 /norfolk/www/w3perl/cron-semaines.pl > /dev/null 2>&1
00 02 1 * * /norfolk/www/w3perl/cron-mois.pl > /dev/null 2>&1

Optionnal scripts
03 00 * * 1 /norfolk/www/w3perl/cron-url.pl > /dev/null 2>&1
30 02 * * 1 /norfolk/www/w3perl/cron-session.pl > /dev/null 2>&1
35 03 * * 1 /norfolk/www/w3perl/cron-agent.pl > /dev/null 2>&1
40 03 * * 1 /norfolk/www/w3perl/cron-refer.pl > /dev/null 2>&1
45 03 * * 1 /norfolk/www/w3perl/cron-error.pl > /dev/null 2>&1

If your results files have problems, delete the redirection output ('> /dev/null 2 > &1'). You will receive an email on the morning telling you what's wrong.