gentoo crontab: why this simple crontab is not working?

点点圈 提交于 2019-12-02 13:21:15

The syntax you use in crontab -e does not allow you to specify the user name; it always runs as yourself.

So, the root is a syntax error (it causes Cron to try to run the command root, which probably does not exist); take it out and try again.

If you need the job to run as root, put the file (now with the user name) in /etc/cron.d/.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!