Home » Php » Executing Cron Job CentOS7 PHP 7.1

Executing Cron Job CentOS7 PHP 7.1

Posted by: admin February 25, 2020 Leave a comment


I’m trying to execute cron jobs but none seem to work, it’s several different ones, different files, yet none work.

I have tried many variations of the php path and the php file path is correct.
/usr/bin/php /home/xxx/public_html/vendors/notifywhenavailable/sendMails.php

This is one of four PHP files, none seem to execute.

My latest update via email for the cron is Status: 301 Moved Permanently, however all PHP file locations are correct. I have tried usr/bin/php usr/local/bin/php I have tried /usr/local/bin/ea-php71 – literally nothing will execute these.

How to&Answers: