Search squid archive

Re: How to rotate logs in Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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@xxxxxxxxxxxxxxxxxxx] 
| Sent: 19 July 2006 17:08
| To: Mehmet, Levent (Accenture)
| Cc: squid-users@xxxxxxxxxxxxxxx
| Subject: Re:  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@xxxxxxxxxxxx>
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.
		-- Aristotle

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux