Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save danihuge/d298739a969c77cd7c2695f372a2dd94 to your computer and use it in GitHub Desktop.

Select an option

Save danihuge/d298739a969c77cd7c2695f372a2dd94 to your computer and use it in GitHub Desktop.
Force elastic beanstalk cron job to run
aws sqs send-message --queue-url=<queue url> --message-body='elasticbeanstalk scheduled job' --message-attributes '{"beanstalk.sqsd.path": {"DataType": "String", "StringValue": "<task url>"}, "beanstalk.sqsd.scheduled_time": {"DataType": "String", "StringValue": "2001-02-03T00:00:00+00:00"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment