CRON dont run propelly

October 4, 2017 8733点热度 1人点赞 0条评论
Questions LEMP Stack Q & ACategory: LinuxCRON dont run propelly
Anonymous asked 7 years ago

Hello,,, If i insert this cron in crontab the commando dont run fine, so how to fix this?
PS.: I insert using CRONTAB -E and confirm using CRONTAB -L

0 21 * * * php -q /data/wwwroot/central/crons/cron.php >/dev/null 2>&1
Question Tags:
1 Answers
lempstack Staff answered 7 years ago
You can change:
0 21 * * * /usr/local/php/bin/php -q /data/wwwroot/central/crons/cron.php >/dev/null 2>&1

这个人很懒,什么都没留下