I have set up an Elastic Beanstalk server, worker tier. It has a cron.yaml to run a task every hour, like so:
version: 1
cron:
- name: "broadcast-users"
url: "/broadcast"
schedule: "0 * * * *"
I know that it works via SQS sending a message to the worker queue which then gets picked up by that route - but I don't know what that message looks like. I would like to be able to test the cron job easily, without waiting for the scheduled time to come.
Does anybody what the message would look like from SQS to kick off this cron job? (Or how I can inspect the contents of the messages being sent to SQS?)
Thanks!