您的位置:首页 > 其它

crontab每10秒执行一次的实现方法

2017-04-03 08:57 549 查看

实例如下:

vim /var/spool/cron/root
* * * * * sleep 10; /usr/bin/curl http://localhost/index.php
* * * * * sleep 20; /usr/bin/curl http://localhost/index.php
* * * * * sleep 30; /usr/bin/curl http://localhost/index.php
* * * * * sleep 40; /usr/bin/curl http://localhost/index.php
* * * * * sleep 50; /usr/bin/curl http://localhost/index.php

以上这篇crontab每10秒执行一次的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

您可能感兴趣的文章:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  crontab 10秒