Hey,
I don’t believe the PHP location is specified in the config.php file
I think it would be in the cron command itself
So I imagine the command would change to something alike:
cd [suiteCRM location]; [php executable location]php -f cron.php > /dev/null 2>&1
So my local instance would be something like:
cd /var/www/html/Suite7.11.15; /usr/bin/php -f cron.php > /dev/null 2>&1
While I’m not sure how it’d be laid out for cPanel usage, I imagine it would be somewhat similar to the above
I’d noticed a thread where in users mentioned needing “php-cli”, rather than “php”
Which might be something worth noting too, as this user noted cPanel in his initial post:
https://community.suitecrm.com/t/cron-job-fix/35247/3
Regarding missing “allowed_cron_users”:
The CRM seems to build that section during installation, using the web-server user:
Which is grabbed by
So, if cPanel doesn’t permit “exec” commands, that would explain why it wasn’t built
Let us know how things go, after adding the php executable’s full path to the cron command
Though, if it still is not succeeding, has anything new popped up in the Suitecrm error log?
Hopefully, there’s something of note, as I’m running out of ideas