From: Jamie C. <jca...@we...> - 2007-05-02 00:59:47
|
In that case, you could use the pre-rotation script feature of logrotate to run awstats on the file, just before it is rotated. That is more reliable.. - Jamie On 1/May/2007 14:07 Joaquim Homrighausen wrote .. > OK; fair enough. What if I happen to have a site that uses only the > Apache/AWStats/Logrotate Webmin modules (i.e. not Virtualmin)? If I set > the log rotation to weekly, and then configure the AWStats module to run > every day at 00:01, will that suffice? Or should I set it to run 23:59? > > > Jamie Cameron wrote: > > > The way Virtualmin sets it up by default is to have AWstats process both > the > > most recent rotated log and the current one - that way nothing is missed. |