How can I set Cron tasks to execute rules or completeness?

In Akeneo PIM, all jobs that are run periodically on a given schedule are launched by using Cron.

To create or update the configuration, you first need to connect to your Akeneo PIM server through SSH, then you can update the cron table by typing crontab -e

For instance, the following configuration will launch the execution of all the rules every 20 minutes:# m h  dom mon dow   command
*/20 * * * * /usr/bin/php /home/demo/pim/app/console akeneo:rule:run

You can also setup the completeness and the versioning computation with commands pim:completeness:calculate and pim:versioning:refresh

Was this article helpful?

Verwandte Artikel