You are not logged in.

#1 2011-05-13 19:39:32

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Crontab ignored with Cronie - problem again

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

#2 2011-05-14 18:47:50

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Crontab ignored with Cronie - problem again

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

#3 2011-05-15 18:35:02

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Crontab ignored with Cronie - problem again

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

#4 2011-05-30 19:39:06

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Crontab ignored with Cronie - problem again

OK, case closed... It somehow worked after install of dcron and deinstall and install of cronie, again.

Offline

Board footer

Powered by FluxBB