Another Schedulers aren't working post

Hey,

Do you see anything in either of the error logs, when the schedulers are supposed to have run?
(ie: suitecrm.log or the PHP error log?)

I haven’t used cPanel myself, so I’m not sure how much help I’ll be, but i’ve seen a few threads around it with varying levels of success, hopefully one of these has a solution?:

(or, at least, things to investigate that can give more info)


Some common suggestions seem to be:

  • Specify a full path to cron.php or the php executable in the cron job
    ie:
cd [suiteCRM location]; [php executable location]php -f cron.php > /dev/null 2>&1 

(ie, in the 4th link above, a user noted they had to do this with cron.php)


Another thing to check is what web-server user Cron is running under.
There is a section in the config.php file, wherein you can specify web-server users that Cron is allowed to run on:
ie:

 'allowed_cron_users' =>
	 array (
		0 => 'www-data',
	 ),

If Cron is running under a user that is not in this Array, it may be worth adding them


Let us know how you get on, hopefully something above can assist!

1 Like