提示信息:
[user ]$ crontab -e
crontab: installing new crontab
"/tmp/crontab.S0Me6x":36: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit?
Enter Y or N
原因是cron表达式写错了。
本文解析了在使用crontab编辑定时任务时遇到的错误信息,详细解释了bad hour错误的原因,并提供了修正cron表达式的指导。
提示信息:
[user ]$ crontab -e
crontab: installing new crontab
"/tmp/crontab.S0Me6x":36: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit?
Enter Y or N
原因是cron表达式写错了。
2170

被折叠的 条评论
为什么被折叠?