- Newest
- Most votes
- Most comments
Hello, I understand you would like a way to run a cron / scheduled command in App Runner. Because App Runner does not have an inbuilt cron/schedule functionality, you may use Event Bridge to trigger a Lambda Function which then runs desired commands. See Controlling and monitoring AWS App Runner applications with Amazon EventBridge for an example of using an Event Bridge cron schedule to pause and resume an App Runner service using Lambda. You could modify this solution as needed.
Thanks to your answer! Well it was what I did
I used Event Bridge with Lamba function, but I didnt find how to run a custom command (symfony, "app/bin ..."), but in the doc it looks I can only run "pause", "resume", "update" well only preconfigured commands ^^' so for now I created an endpoint from my symfony app an I run a GET request from Lambda ^^'
Relevant content
- asked 5 months ago
- asked a year ago
- AWS OFFICIALUpdated 3 days ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago