Hello Xavier, xavier renaut wrote: > Package: cron > Version: 3.0pl1-106 > Severity: normal > > > if one creates a cron job in cron.d , wait for the reload, > change it again with a bad time, ie : > > * 222 * * * root echo > /dev/null > > cron will report > > cron[26144]: Error: bad hour; while reading /etc/cron.d/test2 > > > then you can correct it, > cron wont reload it, and wont pick up new files in this directory.
I cannot reproduce this. Could you try the following?
a) create a valid crontab as /etc/cron.d/foobar
* * * * * root date >> /tmp/dates
b) post output of the following command:
# ls -ld --full-time /etc/cron.d{,/foobar}
c) invalidate crontab
* 666 * * * root date >> /tmp/dates
d) repeat step b)
e) correct crontab
* * * * * root date >> /tmp/dates
For me, after step e), everthing works as normal...
Christian
signature.asc
Description: OpenPGP digital signature

