mirror of https://github.com/databricks/cli.git
Use periodic triggers in all templates
This commit is contained in:
parent
5d9910c8e0
commit
8475082163
|
@ -3,10 +3,10 @@ resources:
|
||||||
{{.project_name}}_job:
|
{{.project_name}}_job:
|
||||||
name: {{.project_name}}_job
|
name: {{.project_name}}_job
|
||||||
|
|
||||||
schedule:
|
trigger:
|
||||||
# Run every day at 9:27 AM
|
periodic:
|
||||||
quartz_cron_expression: 21 27 9 * * ?
|
interval: 1
|
||||||
timezone_id: UTC
|
unit: DAYS
|
||||||
|
|
||||||
email_notifications:
|
email_notifications:
|
||||||
on_failure:
|
on_failure:
|
||||||
|
|
|
@ -10,10 +10,10 @@ resources:
|
||||||
{{.project_name}}_job:
|
{{.project_name}}_job:
|
||||||
name: {{.project_name}}_job
|
name: {{.project_name}}_job
|
||||||
|
|
||||||
schedule:
|
trigger:
|
||||||
# Run every day at 8:37 AM
|
periodic:
|
||||||
quartz_cron_expression: '44 37 8 * * ?'
|
interval: 1
|
||||||
timezone_id: Europe/Amsterdam
|
unit: DAYS
|
||||||
|
|
||||||
{{- if not is_service_principal}}
|
{{- if not is_service_principal}}
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@ resources:
|
||||||
{{.project_name}}_sql_job:
|
{{.project_name}}_sql_job:
|
||||||
name: {{.project_name}}_sql_job
|
name: {{.project_name}}_sql_job
|
||||||
|
|
||||||
schedule:
|
trigger:
|
||||||
# Run every day at 7:17 AM
|
periodic:
|
||||||
quartz_cron_expression: '44 17 7 * * ?'
|
interval: 1
|
||||||
timezone_id: Europe/Amsterdam
|
unit: DAYS
|
||||||
|
|
||||||
{{- if not is_service_principal}}
|
{{- if not is_service_principal}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue