Skip to content

Commit

Permalink
Update galaxy/templates/cronjob-maintenance.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Nuwan Goonasekera <[email protected]>
  • Loading branch information
ksuderman and nuwang authored Apr 19, 2024
1 parent 7e61ac1 commit bbdbdb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galaxy/templates/cronjob-maintenance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spec:
{{- if $cronjob.enabled }}
schedule: {{ $cronjob.schedule | quote }}
{{- else }}
# Set an impossible date so that the cronjob is still defined, but effectively disabled.
# This will allow the cronjob to be run manually if needed.
schedule: "0 0 30 2 *"
{{- end }}
jobTemplate:
Expand Down

0 comments on commit bbdbdb9

Please sign in to comment.