crontab bad minute Do you want to retry the same edit
小编:动力软件园 时间:2019-02-14 15:23:15
"/tmp/crontab.oJfMV2":1: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit?
出现上述错误
原因是写错了格式
比如:都是5分钟执行一次
可以写,号也可以写*/5 而不是0/5
0,5 * * * * touch /niu2019/test.txt
*/5 * * * * touch /niu2019/test.txt
"/tmp/crontab.oJfMV2" 15L, 650C written
crontab: installing new crontab //出现这个才是正确的。
排行榜