cron.d question.

device0 device0 at gmail.com
Thu Jul 14 14:19:08 UTC 2005


hi,
try to give the username in your cron entry, ie
* * * * * root echo `date` "test2" >> /var/log/test

and try to make your cronfile executable, if giving username doesn't help

regards,
nathan


2005/7/14, andysayshi <andysayshi at gmail.com>:
> 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




More information about the redhat-list mailing list