永和 2018-06-02 12:16:18 2313次浏览 0条回复 0 0 0

项目部署到服务器,php yii init/gather3 测试console,任务执行成功 但是通过crontab -e 创建corn ,给执行权限,内容如: ----- php绝对 app绝对/yii init/gather3 或者 1---- php绝对 app绝对/yii init/gather3 start之后 status 为running,但是任务并不执行

直接运行:* * * * * php绝对 app绝对/yii init/gather3 无效果 直接运行:1 * * * * php绝对 app绝对/yii init/gather3 报错:-bash: 1: command not found 直接运行php绝对 app绝对/yii init/gather3 任务执行

求大神帮忙看下问题所在呀

    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册