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

  • [opensuse] logrotate and crontab
    ... I've been having a look on how crontab is setup on default Suse 9.2/10.0/10.1 servers, ... it's important for me because i want to schedule sarg at 2 pm and i want to be sure that i always run logrotate (to rotate squid logs) exactly might. ...
    (SuSE)
  • Re: [opensuse] logrotate and crontab
    ... 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. ...
    (SuSE)
  • Re: out-dated linux
    ... At home me & my family are using the SuSE 9.1 distro. ... but it is running some servers as well. ... Linux will not become unstable from lack of updates. ...
    (alt.linux)
  • Re: Admin multiple servers with SuSE
    ... We have some SuSE servers running several web apps. ... cfengine also provides dynamic classes ...
    (alt.os.linux.suse)
  • [SLE] SuSE 9.1 on a Fujitsu-Siemens Primergy Econel 10
    ... We have three Fujitsu-Siemens Primergy Econel 10 servers running SuSE 8.2. ... I have tried to upgrade two of them to SuSE 9.1 to get the new improved Yast2 ... SCSI 1x LSI Logic SYM53C895A ... There is nothing about a SCSI controller in the motherboard manual, ...
    (SuSE)