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

Reply via email to