|
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 |
| -a | start from scratch |
| -d <nbdays> | number of days to scan |
| -r <date> | ending date |
| -s <date> | starting date |
| -e | incremental run for all scripts |
| -x | show default value |
| -v | version |
|
|
Notes
|
Can now be run from Windows also
|
| 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.