[olug] Forcing cron.daily to run

Daniel Pfile daniel at pfile.net
Tue Aug 8 22:21:26 UTC 2006


dthacker9 at cox.net wrote:
> SuSE 10.0, running standard cron
>
> I need to force a run of cron.daily.   I've found an obscure note on linuxquestions.org that says to adjust the /var/spool/cron/lastrun/cron.daily timestamp using touch -t.  If the time is 24 hours after the timestamp, cron.daily should run.   It's not working for me.  Any other switches I could throw? 
>   

You could always just do what cron would do when it kicked off (most
likely) and run:

# run-parts /path/to/cron.daily

-- Daniel



More information about the OLUG mailing list