googlepimcore

Configure scheduled tasks

Pimcore’s scheduler is enabled by default. To check if the cronjob is enabled, run the command below:

$ cat /etc/cron.d/pimcore

You should see the following output:

*/1 * * * * daemon /opt/bitnami/php/bin/php /opt/bitnami/pimcore/bin/console maintenance --env=prod >> /dev/null 2>&1

IMPORTANT: It is strongly recommended to run the task every 5 minutes, or at least every 10 minutes. By default, it is configured to run every minute, since Pimcore recognizes if there is an active job and executes only those jobs which are not active.

In case it is commented or disabled, add the line below to the /etc/cron.d/pimcore file and save:

*/1 * * * * daemon /opt/bitnami/php/bin/php /opt/bitnami/pimcore/bin/console maintenance --env=prod >> /dev/null 2>&1
Last modification February 9, 2023