开发者

How to sleep 10 seconds before running a linux command?

Simple question: I want to run a cron operation every minute at the 10th second (for example at 2:00:10 PM). The cron operation runs a curl command to download a website page. How c开发者_如何学运维an I run a cron operation to do that?

Current crontab setting:

* * * * * curl http://www.google.com/


* * * * * sleep 10;curl http://www.google.com/
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜