开发者

New task added in crontab not run

开发者 https://www.devze.com 2023-03-10 08:33 出处:网络
At about 8:10 AM, I edited crontab tasks with \"crontab -e\", added a simple task which should run at 8:20 AM.

At about 8:10 AM, I edited crontab tasks with "crontab -e", added a simple task which should run at 8:20 AM.

00 3 * * * sh /home/als6fd/bin/run1.sh
20 8 * * * sh echo "hello">>/home/als6fd/ggfan/1.txt

But it did not run at 8:20 AM. What may cause this problem?

If I call "/sbin/service crond reload"开发者_运维百科, an error occurs.


problem fixed: as current user does not have right to write to /home/als6fd/ggfan

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号