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@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to