----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:48 PM
Subject: [plug] logrotate


> sirs:
>
> how do i make sure logrotate does its work in cleaning
> my /var/squid/logs so as not to reach 100% of usage. how do i
> automate logrotate? thanks.

squid -k rotate

the above command will rotate your squid's log files.... if you want to
automate, put it on crond

at root:

crontab -e
0 4 * * *  /path/squid -k rotate
save and quit
restart crond

this will automate to rotate your squid's log files every 4 am...

fooler.


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to