trouble with cron
Posted: 19. May 2011, 15:10
If I put a file foo in /etc/cron.d
it should call foo every minute and on reboot .... shouldn't it?
But in fact, the cron daemon doesn't seem to pay it any heed.
Is there something obvious I've missed
, or something different about how Slackware deals with this
?
I tried
and there is no mention of cron.d. Adding it and asking for it to be checked every minute didn't work.
EDIT
However, *adding* the two lines above does seem to work. But why not in /etc/cron.d?
Code: Select all
*/1 * * * * root /usr/bin/foo >/dev/null 2>&1
@reboot root /usr/bin/foo >/dev/null 2>&1
But in fact, the cron daemon doesn't seem to pay it any heed.
Is there something obvious I've missed


I tried
Code: Select all
#crontab -e
EDIT
However, *adding* the two lines above does seem to work. But why not in /etc/cron.d?