title: ECS/Fargate - can I schedule a job to run every 5 minutes UNLESS its already running?
body: <p>I've got an ECS/Fargate task that runs every five minutes. Is there a way to tell it to not run if the prior instance is still working? At the moment I'm just passing it a cron expression, and there's nothing in the cron/rate aws doc about blocking subsequent runs.</p>
  
  <p>Conseptually I'm looking for something similar to Spring's @Scheduled(fixedDelay=xxx) where it'll run every five minutes after it finishes.</p>
  
  <p>EDIT - I've created the task using cloudformation, not the cli</p>