Re: Logrotate or ???
-- Cage <email@example.com> wrote
(on Thursday, 10 April 2003, 02:09 PM -0500):
> I've been looking into configuring my logrotate config to try to keep my
> /var/log directory clean. Thing is that my machine isn't on 24/7. From
> what I understand, logrotate is default setup to clean logs at 4 a.m.
> Which is rarely when my machine is on. So is there a way to invoke
> logrotate on bootup? Or is there another automated way to handle this.
> Or is it just a matter of manually going in and cleaning up the files?
'apt-get install anacron' should do the trick.
Matthew Weier O'Phinney