linux - crontab无法写入文件
怪我咯
怪我咯 2017-04-17 13:13:18
0
3
862
怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(3)
刘奇

Can you post the crontab configuration?

Write /usr/local/php/bin/php /home/stock/index_cli.php directly in crontab and try it

阿神

1. Is sudu written incorrectly?
2. crontab -l See how to put it in crontab

伊谢尔伦
shelluser@host#: sudo crontab -e
0 * * * * /usr/local/php/bin/php -f /data/dd.php > /data/dd.log 2>&1 &

sudo crontab -e is already edited as root, so there is no need for sudo in it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template