Skip to content

SuiteCRM cron bug #2081

@JedMeister

Description

@JedMeister

The SuiteCRM cron job is buggy. :(

A couple of changes need to be made:

  1. the path to the cron.php is wrong in the cron job. It's currently cron.php but should be public/legacy/cron.php.

  2. in the default config, the www-data user needs to be added as an allowed user in public/legacy/config.php. I.e. once added it should look like this (snippet):

  'cron' => 
  array (
    'max_cron_jobs' => 10,
    'max_cron_runtime' => 30,
    'min_cron_interval' => 30,
    'allowed_cron_users' =>
    array (
      0 => 'www-data',
    ),
  ),

Note the change is swapping the default user to www-data.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions