Messenger Consume or other CLI Jobs #1207
alexander-schranz
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
|
You can use https://github.com/Baldinof/caddy-supervisor to achieve that. See also #490 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@dunglas I have an old experimental branch that uses https://github.com/go-co-op/gocron to run cron jobs or cli-worker scripts via frankenphp with a configuration that looks something like this: While it feels weird to have this in a web server configuration, most PHP applications need some variation of scheduled jobs and it's often very annoying to set up. Could you see something like this being added to FrankenPHP? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there anything shipped with FrankenPHP to configure to automatically also running the
bin/console messenger:consumecommand?On current hostings we use supervisor to manage this. But thought maybe frankenphp has something build in to configure the messenger consume command as part of frankenphp and so I only reload/restart frankenphp on deploy?
Beta Was this translation helpful? Give feedback.
All reactions