开发者

Run cron now without changing its settings

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜