Reputation: 597
I modified this example from the AWS documentation to specify my Glue jobs, but nothing happens:
Resources:
ScheduledJobTrigger:
Type: AWS::Glue::Trigger
Properties:
Type: SCHEDULED
Description: DESCRIPTION_SCHEDULED
Schedule: cron(0 */2 * * ? *)
Actions:
- JobName: prod-job2
- JobName: prod-job3
Arguments:
'--job-bookmark-option': job-bookmark-enable
Name: prod-trigger1-scheduled
This script is in a YAML file that I uploaded to CloudFormation. I used all the default settings after the import. After the specified cron time, nothing happens.
What else is needed to launch Glue jobs?
Upvotes: 2
Views: 509
Reputation: 416
Set the property StartOnCreation
to True
. It is not supported for ON_DEMAND
triggers.
Upvotes: 1