CRON dont run propelly

Questions LEMP Stack Q & ACategory: LinuxCRON dont run propelly
Anonymous asked 6 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 answered 5 years ago
You can change:
0 21 * * * /usr/local/php/bin/php -q /data/wwwroot/central/crons/cron.php >/dev/null 2>&1