diff --git a/cloud_edition/flexibility_mode/docs/onboarder.rst b/cloud_edition/flexibility_mode/docs/onboarder.rst new file mode 100644 index 000000000..c030bdc63 --- /dev/null +++ b/cloud_edition/flexibility_mode/docs/onboarder.rst @@ -0,0 +1,14 @@ +Ensure the Onboarder worker is always running +============================================= + +You have to use Cron to ensure the worker is always running. For that, run the following command to edit the crontab: + +.. code-block:: bash + + crontab -e + +Then add the following line at the end of the crontab: + +.. code-block:: bash + + 42 */2 * * * akeneo:synchronization:message:consumer --env=prod --retry-limit=5 --ttl=6900 diff --git a/cloud_edition/flexibility_mode/docs/partners.rst b/cloud_edition/flexibility_mode/docs/partners.rst index d23fe68f0..1f33340d0 100644 --- a/cloud_edition/flexibility_mode/docs/partners.rst +++ b/cloud_edition/flexibility_mode/docs/partners.rst @@ -40,7 +40,7 @@ Configurations of daemons are stored under `/home/akeneo/.systemd/pim_job_queue` Each text file contains the list of supported jobs for a given queue. -Exemple in file `/home/akeneo/.systemd/pim_job_queue/1.conf`: +Example in file `/home/akeneo/.systemd/pim_job_queue/1.conf`: .. code-block:: bash :linenos: diff --git a/cloud_edition/flexibility_mode/index.rst b/cloud_edition/flexibility_mode/index.rst index 6eec31e60..2718da064 100644 --- a/cloud_edition/flexibility_mode/index.rst +++ b/cloud_edition/flexibility_mode/index.rst @@ -23,3 +23,4 @@ Flexibility Mode docs/partners docs/system_components docs/disk_usage + docs/onboarder diff --git a/onboarder/synchronization/index.rst b/onboarder/synchronization/index.rst index 71578f220..c71c37052 100644 --- a/onboarder/synchronization/index.rst +++ b/onboarder/synchronization/index.rst @@ -37,6 +37,11 @@ Launch the message worker You want a supervised worker ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +.. warning:: + + This process is only for "On premise" PIMs. If you are using the Flexibility mode of Akeneo Cloud Edition, + please follow :doc:`this documentation ` instead. + You can use supervisor to run the ``worker`` as a daemonized process, supervisor will monitor this process and according to the configuration you'll define it will be autostarted and autorestarted. .. code-block:: bash