Crontab将18:00设置为09:00 [英] Crontab sets 18:00 to 09:00
本文介绍了Crontab将18:00设置为09:00的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想设置一个crontab,我希望使程序每15分钟运行一次
从18:00到09:00
我已经给出了此语句,但是我认为它不起作用
I just want to set a crontab using that I want to make a program run at every 15 minutes
from 18:00 to 09:00
I have given this statement and waited but I don't think it is working
*/15 18-9 * * 1-6 Program_name
任何建议将不胜感激
推荐答案
我不认为范围可以像这样环绕。将小时指定为 0-9,18-23
。
I don’t think ranges can wrap around like that. Specify the hour as 0-9,18-23
instead.
这篇关于Crontab将18:00设置为09:00的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文