Trying to figure out how to “actually” setup a cloud job trigger in AWS ELB.
I have a job setup that works when triggered manually but trying to follow the so called docs on setting up the AWS ELB trigger is pretty much worthless (as expected).
I put a cron.yaml file in the project root. I added:
version: 1
cron:
- name: “deleteMessagesJob”
url: “/jobs/deleteMessagesJob”
schedule: “*/1 * * * *”
To the file. I’ve tried both /jobs/deleteMessagesJob & /parse/jobs/deleteMessagesJob.
I have no idea if I’m putting the file in the right place, no idea of I’m putting the correct path, no idea if there’s more info I need to pass somehow such as header info, nothing.
Docs are pretty worthless when they leave 90% of what you have to do up to guessing and voodoo magic. Surely we can do better than “refer to AWS’s worthless docs” for something as popular as AWS ELB.