Far*_*dix 1 linux cron crontab
如何将cron设置为从19:00到5:00运行?
* 19-05 * * ....
Run Code Online (Sandbox Code Playgroud)
此解决方案不起作用.
我要写两行吗?一旦从19到23,另一个从0到5.
在某些发行版上,您可以:
* 19-23,0-5 * * *
Run Code Online (Sandbox Code Playgroud)
点击此处:https://unix.stackexchange.com/questions/67158/crontab-entry-with-hour-range-going-over-midnight
| 归档时间: |
|
| 查看次数: |
1310 次 |
| 最近记录: |