Skip to content

Commit

Permalink
fix cronjob bug
Browse files Browse the repository at this point in the history
  • Loading branch information
freeliuzc committed Jul 6, 2022
1 parent 648e351 commit e8e9db4
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tekton/cronjobs/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cleanup-cronjob
spec:
schedule: "*/5 0 * * *" # Cron Time
schedule: "5 0 * * *" # Cron Time
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand All @@ -19,7 +19,7 @@ spec:
env:
# The Maximum number of pipelinerun basing the same pipeline to keep.
- name: NUM_TO_KEEP
value: "5"
value: "3"
command:
- /bin/bash
- -c
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddleclas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddleclas
spec:
schedule: "*/1 0 * * 5"
schedule: "1 0 * * 5"
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddledetection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddledetection
spec:
schedule: "*/1 0 * * 2"
schedule: "1 0 * * 2"
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddlehelix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddlehelix
spec:
schedule: "*/1 12 * * 6"
schedule: "1 12 * * 6"
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddlenlp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddlenlp
spec:
schedule: "*/1 0 * * 1"
schedule: "1 0 * * 1"
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddleocr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddleocr
spec:
schedule: "*/1 0 * * 0" # UTC 18:00 CST 24:00
schedule: "1 0 * * 0" # UTC 18:00 CST 24:00
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddlerec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddlerec
spec:
schedule: "*/1 0 * * 6" # UTC 18:00 CST 24:00
schedule: "1 0 * * 6" # UTC 18:00 CST 24:00
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddlescience.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddlescience
spec:
schedule: "*/1 12 * * 5"
schedule: "1 12 * * 5"
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddleseg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddleseg
spec:
schedule: "*/1 0 * * 3" # UTC 18:00 CST 24:00
schedule: "1 0 * * 3" # UTC 18:00 CST 24:00
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down
2 changes: 1 addition & 1 deletion tekton/cronjobs/curl/paddlespeech.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: cronjob-curl-paddlespeech
spec:
schedule: "*/1 0 * * 4" # UTC 18:00 CST 24:00
schedule: "1 0 * * 4" # UTC 18:00 CST 24:00
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 0
jobTemplate:
Expand Down

0 comments on commit e8e9db4

Please sign in to comment.