Re: What fires logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Aug 21, 2008, at 2:06 PM, Al Sparks wrote:

What exactly fires logrotate (and other scheduled events like
"logwatch", which ends up in root's inbox)?

look at /etc/cron.daily/logrotate and /etc/cron.daily/0logwatch. those scripts (and the others in /etc/cron.*ly) are invoked by the following code in /etc/crontab:

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

-steve

--
If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux