On Tuesday 02 January 2007 16:33, Arden wrote:
> What utility would you recommend to rotate and cleanup log files? Is
> everyone scripting their own with cron? where do I find the
> daily,weekly, monthly periodic scripts?
>
> This all seems to be a given in all the distributions and google
> doesn't turn up anything that helpful in the first 4-5 pages. Thanks,
> Arden

logrotate is easy to use and set up with cron.
I'm pretty sure it is a debian package you are looking for. logwatch is 
good for log reporting.

The daily, weekly, monthly scripts so common in the distributions were 
created by the maintainer of cron. That is, it is the way he/she 
decided to config cron.  If you decide to config cron the same way, you 
should be able to just drop them in ( maybe some little changes ).

I use fcron so i just have one fcrontab that contains all my periodic 
commands.

e.g.
# keyword       minute  hour            command
%weekly         *               *               /usr/sbin/logrotate 
/etc/logrotate.conf

Shawn
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to