Re: [opensuse] logrotate and crontab



On Thu, 2007-03-29 at 11:08 -0300, Rejaine Monteiro wrote:
Hi,

I've been having a look on how crontab is setup on default Suse
9.2/10.0/10.1 servers,
since i wanted to find out when logs are being rotated.

as far as i can see, the default crontab entries (in /etc/cron.daily,
etc/cron.hourly etc.) are being scheduled via the /etc/crontab master file:

-*/15 * * * * root test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
14 4 * * * root rm -f /var/spool/cron/lastrun/cron.daily
29 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
44 4 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly

but at what time does for example /etc/cron.daily/* get run ?

hourly: on the hour
daily: 4:15am
weekly: 4:30am
monthly: 4:45am

--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages