cron.d question.

andysayshi andysayshi at gmail.com
Thu Jul 14 13:59:29 UTC 2005


i'm having some trouble scheduling cronjobs using /etc/cron.d. for a
quick example my test setup is like this:

# ls -l /etc/cron.d
total 8
-rw-r--r--  1 root root 47 Jul 14 09:42 test2

# cat /etc/cron.d/test2
* * * * * echo `date` "test2" >> /var/log/test

the log file which i've touched w/ perm: 644 root:root doesn't seem to
get updated, and i've tailed the cron log only to see this reload
issued, but it doesnt actually run the command and there are no other
mention of the /etc/cron.d/test2 file:

Jul 14 09:43:01 t5 crond[1916]: (*system*) RELOAD (/etc/cron.d/test2)

any help with this is appreciated.

# cat /etc/redhat-release 
Red Hat Enterprise Linux ES release 4 (Nahant)

thanks.




More information about the redhat-list mailing list