Skip to content

Commit

Permalink
AOB-729: How to launch Onboarder worker on Flex
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Carcel committed Oct 31, 2019
1 parent 90fb094 commit b369b84
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cloud_edition/flexibility_mode/docs/onboarder.rst
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions cloud_edition/flexibility_mode/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ Flexibility Mode
docs/partners
docs/system_components
docs/disk_usage
docs/onboarder
5 changes: 5 additions & 0 deletions onboarder/synchronization/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 </cloud_edition/flexibility_mode/docs/onboarder>` 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
Expand Down

0 comments on commit b369b84

Please sign in to comment.