At 04:53 PM 5/2/01 +0100, you wrote:
>Thank you Cris.
>I have downloaded dnewsreport (by the way, netwinsite mirror is the only one
>that works)
>However, if you or anyone could please inlighten me, i would apreciat it.
>i'm jammed in this one.
>In README there is as follows:
>
> >    8) You will need to create a cron job that will do all the processing
>for you.
> >    Here is what I have done.
> >
> >      a) set up a cron job to rotate dnews2.log just before expire runs ie.
>1:59am
> >      b) set up a cron job to actually run the stats program.
> >
> >      My example:
> >    ####### News Log Rotator
> >    15 1 * * * /usr/local/bin/dmulticat.pl
> >    30 1 * * * /usr/local/lib/dnewsreport/dnewsreport103.pl -f
>/usr/local/lib/dnewsreport/dnewsreport.103.conf
> >    59 2 * * * /usr/local/bin/log-roller
>
>What should log-roller (the script) should do ? I now it is to roll the
>logs, but how ? Is it enough to rename dnews.log to dnews2.log (or whatever)
>??


I'm actually just guessing too, but I think
         tellnews rotate
will do the job, it rotates the logs.

                 ChrisP.



Reply via email to