Use with AWS ECS
tip
Dkron Pro comes with a native ECS executor out of the box.
Use with Amazon ECS
To use Dkron to schedule jobs that run in containers, a wrapper ECS script is needed.
Install the following snippet in the node that will run the call to ECS
Prerequisites
The node that will run the call to ECS will need to have installed
- AWS cli
- jq
Example
ecs-run --cluster cron --task-definition cron-taskdef --container-name cron --region us-east-1 --command "rake foo"