这个问题似乎与 a specific programming problem, a software algorithm, or software tools primarily used by programmers 无关.如果您认为该问题将成为 another Stack Exchange site 上的主题,您可以发表评论,说明在哪里可以回答问题。
关闭去年。
更改 crontable 文件后是否必须重新启动 cron?
最佳答案
没有。
来自cron man page :
...cron will then examine the modification time on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab file is modified
但如果你只是想确保它已经完成,
sudo service cron reload
或
/etc/init.d/cron reload
https://stackoverflow.com/questions/10193788/
相关文章:
python - 在 Python 中,如果我在 "with" block 内返回,文件还会关闭吗?
linux - 如何递归查找并列出具有子目录和时间的目录中的最新修改文件
linux - 如何在linux命令行中替换多个文件中的字符串
linux - 如何修复 'sudo: no tty present and no askpass
python - 从 Numpy 数组 : How do I specify the index c
linux - ./配置 :/bin/sh^M : bad interpreter