crontab运行自定义命令php think hello出错,但是手动执行可以,这是为什么?

浏览:942 发布日期:2020/07/24 分类:求助交流 关键字: tp6
crontab定时任务执行 46 16 * * 5 cd /data/httpd/zhishi && php think hello
总是不行,但是手动执行 php think hello 没问题

Jul 24 17:06:01 iZj6cdgk72r7x0dj3vudyuZ CROND[12502]: (root) CMD (cd /data/httpd/zhishi && php think hello )
Jul 24 17:06:01 iZj6cdgk72r7x0dj3vudyuZ CROND[12501]: (root) MAIL (mailed 32 bytes of output but got status 0x007f#012)
最佳答案
评论( 相关
后面还有条评论,点击查看>>