Mailinglist Archive: opensuse (924 mails)

< Previous Next >
[opensuse] problem with automatic reload of crontabs
  • From: Meike Stone <meike.stone@xxxxxxxxxxxxxx>
  • Date: Mon, 22 Oct 2012 20:22:18 +0200
  • Message-id: <>

I've a question related to automatic reload of crontabs.

The manual page for cron states:

" Additionally, cron checks each minute to see if its spool
directory's modtime (or the modtime on /etc/crontab) has changed, and
if it has, cron will then examine
the modtime on all crontabs and reload those which have
changed. Thus cron need not be restarted whenever a crontab file is

If I change a cron file in the directory /etc/cron.d, after short time, I get

" /usr/sbin/cron[5994]: (system_u) RELOAD (/etc/cron.d/"

So it works!


But now I see this message in the syslog:
"Sep 20 09:49:01 rta-auh5-rpc-01 /usr/sbin/cron[3080]: (system_u)
RELOAD (/etc/cron.d/"

If I look at my cron-file, the modify time is before the RELOAD time:

~# stat /etc/cron.d/

File: `/etc/cron.d/'
Size: 866 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 842737 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-10-01 09:48:21.000000000 +0000
Modify: 2012-08-28 16:35:27.000000000 +0000
Change: 2012-08-28 16:35:27.000000000 +0000
Birth: -

I'm not the only admin on this Server, so I don't know, if someone
other has changed this file.

But why was /etc/cron.d/ reloaded by cron, if the modify
time not changed?

Thanks for help
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages