Le 2001.03.09 12:48:56 +0400, Christian Gennerat a écrit :
> "R.I.P. Deaddog" a écrit :
> 
> > How about modifying webaliser to check for the previous log instead
> > of the current log?
> >
> > Abel Cheung
> >
> > On Wed, 7 Mar 2001, Guillaume Rousse wrote:
> >
> > > Webaliser (apache log to HTML) runs weekly, but logrotate runs daily
> just
> > > before, as current Mandrake /etc/crontab is :
> > > 22 4 * * * daily tasks
> > > 42 4 * * 0 weekly tasks
> > > So webaliser always runs after logrotates swaps logs, and returns "no
> valid
> > > record found'. Is there any workaround, other than changing
> /etc/crontab ?
> > >
> 
> After logrotate, the previous log is gzipped...
Yes, but webalizer is able to process compressed files. I prefer this
solution. I'll modify webalizer package a soon as i can find some spare
time. Next century may be :-)

-- 
Guillaume Rousse

Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.

Reply via email to