Scripts description

Cron-w3perl is the master script which start all the others scripts in the right order. If your provider allow only one entry in your crontab, this is the script to add !


Cron-w3perl.pl
Purpose It compute all stats, lannching the different w3perl scripts.
Frequency Once a day in incremental mode.
Time taken Depending on your logfile size and your configuration file, it can take from a few minutes to several hours.
If your logfiles are really huge, I suggest you first to test reports using a small logfile.
How it works It starts the different scripts according to the time schedule you have defined. Can be run from the web interface.
Options
-c <file>load configuration file
-astart from scratch
-d <nbdays>number of days to scan
-r <date>ending date
-s <date>starting date
-eincremental run for all scripts
-xshow default value
-vversion
Notes Can now be run from Windows also

Example :

Action Command Comment
Init your stats from the first logfile found cron-w3perl.pl -a Use the default config.pl file
Init your stats from the first logfile found cron-w3perl.pl -c config-mywebsite.pl -a Use a dedicated config file
Init your stats starting 10 days ago only cron-w3perl.pl -c config-mywebsite.pl -a -d 10 -d number of days
Init your stats starting on March 14th 2011 cron-w3perl.pl -c config-mywebsite.pl -a -s 14/Mar/2011 -s starting date
Init your stats between January 10th 2011 and March 17th 2011 cron-w3perl.pl -c config-mywebsite.pl -a -s 10/Jan/2011 -r 17/Mar/2011 -r ending date
Update everything cron-w3perl.pl -c config-mywebsite.pl -e Update from your last run
Update current stats cron-w3perl.pl -c config-mywebsite.pl Real-time and hourly reports

Initialisation (-a) will delete your previous reports (except cache files as IP reversedns).
Update (-e) will scan at maximum for the last 14 days (default). Can be changed in config file.