File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -785,6 +785,13 @@ the Messenger component:
785
785
.. image :: /_images/components/scheduler/generate_consume.png
786
786
:alt: Symfony Scheduler - generate and consume
787
787
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
+
788
795
Creating a Consumer Programmatically
789
796
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
790
797
@@ -943,6 +950,7 @@ When using the ``RedispatchMessage``, Symfony will attach a
943
950
helping you identify those messages when needed.
944
951
945
952
.. _`MakerBundle` : https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
953
+ .. _`Deploying to Production` : https://symfony.com/doc/current/messenger.html#deploying-to-production
946
954
.. _`Memoizing` : https://en.wikipedia.org/wiki/Memoization
947
955
.. _`cron command-line utility` : https://en.wikipedia.org/wiki/Cron
948
956
.. _`crontab.guru website` : https://crontab.guru/
You can’t perform that action at this time.
0 commit comments