SuiteCRM 8.8.0 — allowed_cron_users Not Recognized Despite Proper Config Entry

Hi all,

I’ve just completed a fresh installation of SuiteCRM v8.8.0 (on Debian 12 using php v8.2.x), and while verifying system logs, I noticed a repeating fatal error in /logs/legacy/suitecrm.log, appearing once every minute.

Error in suitecrm.log:

Fri Apr 18 2025 at 09:28:02 [185311][-none-][FATAL] cron.php: missing expected allowed_cron_users entry in config.php. No cron user checks will occur.

What I’ve Tried:

Following advice from previous threads, I edited the config.php file and added the following line directly after the ‘site_url’ key (around line 387):

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

Despite this, the error persists, and no cron jobs appear to be executing properly. Is there a specific placement or syntax requirement for the allowed_cron_users entry that could cause SuiteCRM to ignore it?

Hey
this is how you should add cron allowed users

image

1 Like

Thanks @abuzarfaris - spot on! Adding the following got ride of the extensive logging of cron errors:

'allowed_cron_users' => 'www-data',