“每天一命令之crontab”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(导入1个版本)
第1行: 第1行:
 +
= 秒级定时任务=
 +
<pre>
 +
* * * * * /usr/bin/curl http://www.test.com
 +
* * * * * sleep 5; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 10; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 15; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 20; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 25; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 30; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 35; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 40; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 45; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 50; /usr/bin/curl http://www.test.com
 +
* * * * * sleep 55; /usr/bin/curl http://www.test.com
 +
</pre>
 +
  
 
=see also=
 
=see also=

2020年5月12日 (二) 03:10的版本

秒级定时任务

* * * * * /usr/bin/curl http://www.test.com
* * * * * sleep 5; /usr/bin/curl http://www.test.com
* * * * * sleep 10; /usr/bin/curl http://www.test.com
* * * * * sleep 15; /usr/bin/curl http://www.test.com
* * * * * sleep 20; /usr/bin/curl http://www.test.com
* * * * * sleep 25; /usr/bin/curl http://www.test.com
* * * * * sleep 30; /usr/bin/curl http://www.test.com
* * * * * sleep 35; /usr/bin/curl http://www.test.com
* * * * * sleep 40; /usr/bin/curl http://www.test.com
* * * * * sleep 45; /usr/bin/curl http://www.test.com
* * * * * sleep 50; /usr/bin/curl http://www.test.com
* * * * * sleep 55; /usr/bin/curl http://www.test.com


see also

每天一个linux命令(50):crontab命令