Skip to content

Commit 5868840

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Minor tweaks [Scheduler] Add some pointers regarding worker processes deployment
2 parents ebd7193 + d03ce88 commit 5868840

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

@@ -943,6 +950,7 @@ When using the ``RedispatchMessage``, Symfony will attach a
943950
helping you identify those messages when needed.
944951

945952
.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
953+
.. _`Deploying to Production`: https://symfony.com/doc/current/messenger.html#deploying-to-production
946954
.. _`Memoizing`: https://en.wikipedia.org/wiki/Memoization
947955
.. _`cron command-line utility`: https://en.wikipedia.org/wiki/Cron
948956
.. _`crontab.guru website`: https://crontab.guru/

0 commit comments

Comments
 (0)