[olug] Forcing cron.daily to run
dthacker9 at cox.net
dthacker9 at cox.net
Tue Aug 8 22:43:30 UTC 2006
---- Daniel Pfile <daniel at pfile.net> wrote:
> 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
omares-uswqa:/etc/sysconfig # run-parts /etc/cron.daily
-bash: run-parts: command not found
omares-uswqa:/etc/sysconfig # locate run-parts
omares-uswqa:/etc/sysconfig #
Hmmm. This is a vixie cron, but suse apparently doesn't implement run-parts.
DT
>
> -- Daniel
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list