You are not logged in.
Hello,
I have switched from dcron to cronie and now I have a problem with crontab entries:
When I put this code:
30 20 * * * /usr/local/bin/rsynchome
into
/etc/cron.d/myscript
it works. But if I put the same code in
crontab -e
then file
/var/spool/cron/root
says
30 20 * * * /usr/local/bin/rsynchome
but it doesn't get executed. And there is nothing in /var/log/cron.log...
Am I missing something?
EDIT: Fixed it. I have restarted the daemon and still didn't worked. Then I have put a new line in crontab -e and then restarted crond daemon and then it worked. Then I removed new line and didn't restart the daemon and still worked... Odd... Now works.
Last edited by Clouseau (2011-05-14 18:46:28)
Offline
Ok, today it didn't run so the problem is still here. I have to reedit with crontab -e and restart crond daemon to work again. After reboot it doesn't work until I repeat the procedure. Daemon crond is started on boot...
Last edited by Clouseau (2011-05-14 18:53:43)
Offline
Ok, new problem, Cronie ignores entries in /etc/cron.d/ directory after restart also.
EDIT: everything works with dcron so I will probably switch back to dcron...
Last edited by Clouseau (2011-05-15 19:32:12)
Offline
OK, case closed... It somehow worked after install of dcron and deinstall and install of cronie, again.
Offline