Skip to content

Instantly share code, notes, and snippets.

@thirteen37
Created December 5, 2019 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thirteen37/22dcda0181ed4a2947e7b24c8e8227dd to your computer and use it in GitHub Desktop.
Save thirteen37/22dcda0181ed4a2947e7b24c8e8227dd to your computer and use it in GitHub Desktop.
Example Clockwork schedule spec
apiVersion: v2
scheduledPipelines:
- # reference a remote uri that contains the pipeline specification
pipelineRef: https://source.golabs.io/ds/example/blob/master/cw.yaml
# specifies when the scheduler should start running this pipeline
startDate: 2019-02-28
# the repeat interval for this job, using cron expression
schedule: "*/5 * * * *"
# additional no of tries to run the task upon failure
retries: 1
# alerts can be configured for different task statuses
alert:
type: slack
failure: true
retry: true
success: true
recipients:
- some.user@gojek.com
- "#alerts-channel"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment