Created
December 5, 2019 06:13
-
-
Save thirteen37/22dcda0181ed4a2947e7b24c8e8227dd to your computer and use it in GitHub Desktop.
Example Clockwork schedule spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
- [email protected] | |
- "#alerts-channel" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment