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

Re: [cobalt-users] /var/log/phoenix.log



On Tuesday 20 January 2004 11:20 am, Ken Marcus - Precision Web Hosting 
wrote:

> What I did was set up a cron:
> su
> pico -w newcron
> 13  10  *  *  4 /etc/rc.d/init.d/scandetection stop
> 15  10  *  *  4 rm /var/log/phoenix.log
> 16  10  *  *  4 /etc/rc.d/init.d/scandetection start
>
> crontab newcron
>
> That way it never builds up too much.

Or you can add it to logrotate so it gets rotated automagically.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Professional Internet Services & Support / Consulting / Colocation
Our blists address used on lists is for list email only
Phone +1 909 324-9706, or see: "http://www.nobaloney.net/contactus.html";