【发布时间】:2016-09-14 20:57:31
【问题描述】:
我有每隔一小时运行一次的 crontab 脚本
2 */2 * * * cd /home/myuser/scripts && ./script.sh
4 */2 * * * cd /home/myuser/scripts && ./script2.sh
6 */2 * * * cd /home/myuser/scripts && ./script3.sh
8 */2 * * * cd /home/myuser/scripts && ./script4.sh
...
我想添加更多每隔一小时运行的脚本,而不是上述脚本运行的时间。所以上面的脚本都在各自的小时/分钟上运行让我们说在下午 1 点、下午 3 点......而我的新脚本在下午 2 点、下午 4 点运行......
【问题讨论】: