#Cron jobs with ECS

4 messages · Page 1 of 1 (latest)

quiet vine
#

Hi,

I am developing an API with NestJS that will have several cron jobs in it. I would like to host my API on Amazon Web Services using ECS with an application load balancer. However from my understanding, each docker container in ECS will run the cron job which could result in concurrency issues not to mention that each job only needs to run once. Any suggestions how I could solve this issue?

Thanks!

frosty halo
quiet vine
#

Thanks! This is exactly what I was looking for!

upper horizonBOT
#

This post has been marked as resolved. :white_check_mark:
Please read through the conversation and resolution if you are having the same issue, and then re-open the post if you are still having trouble, providing as much extra information as possible.