I have a requirement to run time driven (cron) jobs with resilience.
Is the following a good pattern to use?
AWS Batch -> AWS SQS -> Spring Boot
- The schedule is configured by AWS Batch,
- when triggered it publishes to an AWS SQS queue,
- and then the Spring Boot Java application subscribes to the messages on the queue and does the job.