File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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+
788795Creating a Consumer Programmatically
789796~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
790797
@@ -970,6 +977,7 @@ When using the ``RedispatchMessage``, Symfony will attach a
970977helping 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/
You can’t perform that action at this time.
0 commit comments