您现在的位置是:网站首页> 编程资料编程资料
crontab每10秒执行一次的实现方法_linux shell_
2023-05-26
490人已围观
简介 crontab每10秒执行一次的实现方法_linux shell_
实例如下:
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秒执行一次的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。
您可能感兴趣的文章:
相关内容
- 基于shell的if和else详解_linux shell_
- Vim中列出TODO与FIXME等备注的方法_linux shell_
- Linux bash删除文件中含“指定内容”的行功能示例_linux shell_
- 使用ntpdate工具校正linux服务器时间(实现方法)_linux shell_
- linux 下实现sleep详解及简单实例_linux shell_
- Linux 中可重入函数与不可重入函数详解_linux shell_
- 解决linux的redhat版上mysql字符乱码的问题_linux shell_
- 完美解决Linux搭建sftp出现Write failed:Broken pipe的问题_linux shell_
- Linux中的搜索文件命令_linux shell_
- Linux下模拟实现进度条实例详解_linux shell_
