Oh shucks. Then maybe that was it. Since last electricity invoice almost let me broke I started to shut it down at night (that is for the last 6 months). :)
Thx. Do I have tp set anything special for anacron? Do I need to run it also as a demon? Best regards, Adrin ----- Original Message ----- From: "Derek Jennings" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 7:15 PM Subject: Re: [expert] Re: Clean up old logs > On Saturday 15 Nov 2003 5:32 pm, Björn Lundin wrote: > > Adrian Golumbovici wrote: > > > Anyway, how can I find out if logrotate is running? > > > > look in the crontab or int /etc/cron.daily .... > > > > > ps aux | grep logrotate > > > > > > didn't show any results. And what does logrotate actually do (how does it > > > work)? > > > > It's not a deamon, its started by cron, run and then dies. > > > > > I see some logs archived (with .gz ending) in /var/log but don't really > > > need them (they just take up space). > > > > proberbly logrotate, that what it does, switching logfile for processes, > > keeping the old ones compressed. > > > > > Anything older than 30 days should be > > > irrelevant. > > > > man logrotate will help you to set that up, by tweaking /etc/logrotate.conf > > > > /Björn > > And if you turn your computer off at night you will need to install the > anacron RPM. The cron job to run logrotate is scheduled at 4am each morning. > If your computer is switched off at night it will never run. Anacron will run > missed cron jobs for you. > > derek > > -- > ---------------------------------- > www.jennings.homelinux.net > http://twiki.mdklinuxfaq.org > > > ---------------------------------------------------------------------------- ---- > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com