[CentOS] What fires logrotate

Joshua Baker-LePain jlb17 at duke.edu
Thu Aug 21 18:27:40 UTC 2008


On Thu, 21 Aug 2008 at 11:06am, Al Sparks wrote

> I've been taking a look at how RedHat (and CentOS) handles logrotate.
> According to the man page, logrotate is supposed to be fired by cron.
> But when I look at root's crontab
>   $ sudo crontab lu root
>   no crontab for root
>
> What exactly fires logrotate (and other scheduled events like
> "logwatch", which ends up in root's inbox)?

Look in /etc/cron.{hourly,daily,monthly,weekly}.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF


More information about the CentOS mailing list