Re: cron.d question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> 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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux