Hello, I deployed a Symfony application on App Platform and I would like to use the messenger system for sending mail asynchronously. To do this, I have to launch a command inside the “server” and that it restarts during a crash. Has anyone done this before? Thanks in advance. Julien
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @contactSnorkler,
I haven’t worked with Symfony messages, but I think Messenger: Sync & Queued Message Handling section helps you to know limit consuming, async/queued and dispatching messages, as well as minimum requirements.
To learn more about it, you could read the Messenger component docs.
I hope this information helps you,
Sergio Turpín
Hello,
What you could do is use a Worker component:
https://docs.digitalocean.com/products/app-platform/how-to/manage-workers/
This allows you to run background processes and you can just specify your command in there.
Let me know how it goes!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.