Scripts description

All scripts are using the configuration file config.pl to know the options you have choosen. You don't have to modify in any case the scripts to run excepting if you find a bug of course or you want to alter the scripts.

You will have to run cron-pages.pl only once except if you change some values in the configuration file.

List of scripts :


Cron-pages.pl
Aim Initialization
It compute stats scanning all the logfile excluding the current day
Frequency Only once. Need to be rerun if you change the config.pl file as the incremental version will load data produced by cron-pages.pl
Time taken Depending on your logfile size and your configuration file, it can take from a few minutes to several hours.
If your log file is really huge, I suggest you to compress it on several parts.
How it works It create subdirectories, output incremental files, generate HTML pages for the stats and also produce time structure data.
Options
-eenglish output only
-ffrench output only
-i <file>input log file
-p <level>precision level
-s <nbdays>scan for the nbdays previous day
-t <toplist>display only toplist files
-vversion
Notes Directory graph is not computed by cron-pages but with cron-semaines. You will need to run it to have the graph.


Cron-inc.pl
Aim Incremental stats
It compute stats scanning only for the previous day
Frequency Once every day.

People without cron access :
If you forgot to use cron-inc.pl for less than 7 days, cron-inc.pl will be able to scan for the missing day. If you have more than 7 days, you will have to run back cron-pages.pl to compute all the values from the first day.
You can alter this value in the code but it could take longer time to compute than cron-pages if you use a high value. Hints : use around 10% of the total days from the beginning of log file.

Time taken Typically, a few minutes.
How it works It load incremental files, scan for the previous day, compute new stats and save back the new incremental files. Then it generate HTML pages and also append the time structure data.
Options
-eenglish output only
-ffrench output only
-d <dd/Mmm/yyyy>will compute stats only for a specific day -i <file>input log file
-p <level>precision level
-s <nbdays>scan for the nbdays previous day
-t <toplist>display only toplist files
-vversion
Notes Don't work with the highest level of precision ($precision = 4).
You can use cron-inc.pl to compute stats for a specific date with the command line : cron-inc.pl -d dd/mmm/yyyy (dd is the day number, mmm the first three letter of a month with the first one in upper, yyyy is the year).
Incremental data are not deleted if you use this option ;)