root@2d435b2bf091:/chat/server# crontab /etc/cron.d/crontab/test new crontab file is missing newline before EOF, can't install. root@2d435b2bf091:/chat/server#

root@2d435b2bf091:/chat/server# crontab /etc/cron.d/crontab/test new crontab file is missing newline before EOF, can't install. root@2d435b2bf091:/chat/server#
用户500598139
06月06日
|
浏览 83

这个问题的答案是:在编辑完 crontab 文件后,需要确保文件末尾有一个空行(newline)以便正确安装新的 crontab 文件。

我要提问
复制内容
分享给好友
AI编程问答网 免责声明:
以上内容除特别注明外均来源于网友提问,AI编程问答网回答,权益归原著者所有;