* On 19/07/06 17:13 +0100, Mehmet, Levent (Accenture) wrote:
| Hi
|
| Sorry to be a pain I don't understand not a strong user in squid
|
| -----Original Message-----
| From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
| Sent: 19 July 2006 17:08
| To: Mehmet, Levent (Accenture)
| Cc: squid-users@squid-cache.org
| Subject: Re: [squid-users] How to rotate logs in Squid
|
| ons 2006-07-19 klockan 16:46 +0100 skrev Mehmet, Levent (Accenture):
|
| > We have just installed Squid and I would like to know how rotate the
| > logs files.
| >
| > Please can some explain on how this can be done automatically without
| > admin interference.
|
| Add a cron job running "squid -k rotate" at selected interval.
Edit /etc/crontab and add one like like this;
59 23 * * 6 root /usr/local/sbin/squid -k rotate
Use the correct path for squid binary.
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
-- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Those who educate children well are more to be honored than parents, for these only gave life, those the art of living well. -- AristotleReceived on Wed Jul 19 2006 - 10:25:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT