定时任务crontab报错

来源:互联网 发布:网络系统安全管理制度 编辑:程序博客网 时间:2024/05/16 09:56

新增一条定时任务命令之后,在保存时,报错信息如下:

"/tmp/crontab.fe4L4V" 31L, 1656C written

crontab: installing new crontab
"/tmp/crontab.fe4L4V":19: bad minute
errors in crontab file, can't install.

Do you want to retry the same edit? y


经过排查,是新增命令的格式不对,但是也没有找出不对之处,

所以我删除之后,重新写了一遍,就不再报错,暂时这么解决。

1 0
原创粉丝点击