Re: Rotate Logs

From: Veaceslav Revutchi <slava@dont-contact.us>
Date: Fri, 12 Nov 1999 13:21:14 +0200 (EET)

The following line in the crontab should do it:

50 23 * * 0 /usr/local/sbin/squid -k rotate

and also set the logfile_rotate in squid.conf to the
number of logs you want to keep. The default is 10.

On Fri, 12 Nov 1999, Peter M. Nielsen wrote:

> Does anyone have a script I can add to my cron.weekly on my
> SUSE-installartion, so the logs get rotated every sunday just around 23.50
> in the evening
>
> Best regards, Peter M. Nielsen
> -----------------------------------------------------------------
> Institut for Konjunktur-Analyse
> Aabenraa 29
> 1124 København K
> Telefon: 33 32 82 70
> Telefax: 33 93 03 67
> www.ifka.dk
> ----------------------------------------------------------------
>
>
Received on Fri Nov 12 1999 - 04:31:07 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT