crontab Do you want to retry the same edit? (y/n)

crontab: installing new crontab
"/tmp/crontab.tEoCzO":2: bad day-of-month
errors in crontab file, can't install.
Do you want to retry the same edit? 
Enter Y or N

当我编辑crontab后保存时,crontab文件出现错误错误,不能保存,提示Do you want to retry the same edit?(是否要重试相同的编辑?)

这种情况下一定是你的crontab格式写错了,要注意细节呀,这个命令时间一长不经常使用也容易出错的。

Linux Crontab 定时任务

原文地址:https://www.cnblogs.com/niuben/p/12564741.html