CRON dont run propelly

Questions LEMP Stack Q & ACategory: LinuxCRON dont run propelly
《CRON dont run propelly》Anonymous asked 4 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
《CRON dont run propelly》lempstack answered 4 years ago
You can change:

0 21 * * * /usr/local/php/bin/php -q /data/wwwroot/central/crons/cron.php >/dev/null 2>&1

点赞