I have a job scheduled by cron: popping emails from server every hour.
But sometimes I don't want to wait for 60 minutes to check my emails. To do it, I use a script which run the same command I have in crontab. It开发者_如何学编程 is essentially as running the cron before it was scheduled tor run. Is it possible to run cron at particular time without changing it's settings?
You should be able to use the following:
at now /cron/monthly_save
You could achieve this by using the tool anacron
, in addition to cron
. Forcing execution of a job then becomes as easy as:
anacron -f <your jobname>
精彩评论