I set up a cron on November 2016 and all has been running fine.
However, In the last few days the cron has stopped working and after contacting my hosting company I discovered that they’ve updated the php version on the server to 5.6.31. They then suggested using the Multiphp Manager to change the php version for my individual hosting package back to "ea-php54. That didn’t get the cron working again either & so I’ve kept it at 5.6.31. They then suggested that the cron’s command line may need editing to work on the updated php version, implying that some aspect of the command line may have been deprecated in the new version.
So . . . Would anybody be able to help me edit the cron’s command line for the new version of php:
The 2 command lines I’ve been using are:
PROCESS QUEUE
php-cli /data04/future/public_html/lists2/admin/index.php -c /data04/future/public_html/lists2/config/config.php -p processqueue >~/processqueue.log 2>&1
PROCESS BOUNCES
php-cli /data04/future/public_html/lists2/admin/index.php -c /data04/future/public_html/lists2/config/config.php -p processbounces >~/processbounces.log 2>&1
Also the log file for the cron reads as follows:
/usr/local/cpanel/bin/jailshell: php-cli: command not found
But the cron has been working fine until the hosting company updated the server’s php version
FYI
phplist version: v3.2.5
Apache Version: 2.4.27
MySQL Version: 5.5.54-cll
Perl Version: 5.8.8
I’d very much appreciate any help on this issue
Many thanks
Phil