[opensuse] problem with automatic reload of crontabs
Hello, 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 modified." 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/cron_my.tab)" 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/cron_my.tab)" If I look at my cron-file, the modify time is before the RELOAD time: ~# stat /etc/cron.d/cron_my.tab File: `/etc/cron.d/cron_my.tab' 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/cron_my.tab reloaded by cron, if the modify time not changed? Thanks for help -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Meike Stone