首页 > 系统 > Linux > 正文

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

2019-10-26 18:51:50
字体:
来源:转载
供稿:网友

实例如下:

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秒执行一次的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持武林站长站。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表