Skip to content

Commit c63a5d0

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor tweaks [Scheduler] Add some pointers regarding worker processes deployment
2 parents e8094bb + db324ea commit c63a5d0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scheduler.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,13 @@ the Messenger component:
785785
.. image:: /_images/components/scheduler/generate_consume.png
786786
:alt: Symfony Scheduler - generate and consume
787787

788+
.. tip::
789+
790+
Depending on your deployment scenario, you may prefer automating the execution of
791+
the Messenger worker process using tools like cron, Supervisor, or systemd.
792+
This ensures workers are running continuously. For more details, refer to the
793+
`Deploying to Production`_ section of the Messenger component documentation.
794+
788795
Creating a Consumer Programmatically
789796
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
790797

@@ -970,6 +977,7 @@ When using the ``RedispatchMessage``, Symfony will attach a
970977
helping you identify those messages when needed.
971978

972979
.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
980+
.. _`Deploying to Production`: https://symfony.com/doc/current/messenger.html#deploying-to-production
973981
.. _`Memoizing`: https://en.wikipedia.org/wiki/Memoization
974982
.. _`cron command-line utility`: https://en.wikipedia.org/wiki/Cron
975983
.. _`crontab.guru website`: https://crontab.guru/

0 commit comments

Comments
 (0)