Skip to content

Instantly share code, notes, and snippets.

@bubenkoff
Last active November 6, 2021 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bubenkoff/96e04fb219ff9edcd4f62b43b44a5c94 to your computer and use it in GitHub Desktop.
Save bubenkoff/96e04fb219ff9edcd4f62b43b44a5c94 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