bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.37k stars 4.83k forks source link

[suitecrm] Schedule not enabled -- cron job is not configured #73548

Open JoshMcCullough opened 2 hours ago

JoshMcCullough commented 2 hours ago

Name and Version

bitnami/suitecrm:8.7.0

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Run a container.
  2. Check the crontab for the daemon user: crontab -l -u daemon
  3. See that there are not jobs configured.

What is the expected behavior?

A cron job needs to be added in order to enable the SuiteCRM Scheduler to run its jobs. Without this, much of the functionality will not work.

See: https://docs.suitecrm.com/blog/scheduler-jobs/

What do you see instead?

No cron jobs exist, so the Scheduler does not run its jobs.

Additional information

Here's what the crontab entry should look like (it must be "installed" for the daemon user):

* * * * * /opt/bitnami/php/bin/php /bitnami/suitecrm/public/legacy/cron.php
JoshMcCullough commented 2 hours ago

Fixed with PR: https://github.com/bitnami/containers/pull/73549