If a certain cronjob is scheduled to run every minute, vixie cron will still run the next minute after it's been disabled (commented-out in the crontab). The cron man page isn't specific in which order does it run cronjobs and re-read the crontabs. Is it possible to disable this behavior?

link|improve this question

I can't make this happen on an Ubuntu 9.04 system I have to hand. What distro are you using ? – Iain Apr 24 '11 at 14:05
Gentoo Linux, vixie-cron-4.1-r10. – CyberShadow Apr 24 '11 at 14:26
feedback

1 Answer

Do you edit the crontab file manually? You have to use crontab -e to change and install the new crontab.

link|improve this answer
Yes, I use crontab -e. Could this be caused by a malfunction in the crontab program? – CyberShadow Apr 24 '11 at 15:38
Unlikely, but possible. You could try to update to vixie-cron-4.1-r11 and test it again. (I can't test it because I discarded my last Gentoo installation some days ago...) – fab Apr 24 '11 at 15:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.