Skip to content

Commit e8e9db4

Browse files
committed
fix cronjob bug
1 parent 648e351 commit e8e9db4

10 files changed

+11
-11
lines changed

tekton/cronjobs/cleanup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cleanup-cronjob
55
spec:
6-
schedule: "*/5 0 * * *" # Cron Time
6+
schedule: "5 0 * * *" # Cron Time
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:
@@ -19,7 +19,7 @@ spec:
1919
env:
2020
# The Maximum number of pipelinerun basing the same pipeline to keep.
2121
- name: NUM_TO_KEEP
22-
value: "5"
22+
value: "3"
2323
command:
2424
- /bin/bash
2525
- -c

tekton/cronjobs/curl/paddleclas.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddleclas
55
spec:
6-
schedule: "*/1 0 * * 5"
6+
schedule: "1 0 * * 5"
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddledetection.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddledetection
55
spec:
6-
schedule: "*/1 0 * * 2"
6+
schedule: "1 0 * * 2"
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddlehelix.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddlehelix
55
spec:
6-
schedule: "*/1 12 * * 6"
6+
schedule: "1 12 * * 6"
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddlenlp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddlenlp
55
spec:
6-
schedule: "*/1 0 * * 1"
6+
schedule: "1 0 * * 1"
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddleocr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddleocr
55
spec:
6-
schedule: "*/1 0 * * 0" # UTC 18:00 CST 24:00
6+
schedule: "1 0 * * 0" # UTC 18:00 CST 24:00
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddlerec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddlerec
55
spec:
6-
schedule: "*/1 0 * * 6" # UTC 18:00 CST 24:00
6+
schedule: "1 0 * * 6" # UTC 18:00 CST 24:00
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddlescience.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddlescience
55
spec:
6-
schedule: "*/1 12 * * 5"
6+
schedule: "1 12 * * 5"
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddleseg.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddleseg
55
spec:
6-
schedule: "*/1 0 * * 3" # UTC 18:00 CST 24:00
6+
schedule: "1 0 * * 3" # UTC 18:00 CST 24:00
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

tekton/cronjobs/curl/paddlespeech.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CronJob
33
metadata:
44
name: cronjob-curl-paddlespeech
55
spec:
6-
schedule: "*/1 0 * * 4" # UTC 18:00 CST 24:00
6+
schedule: "1 0 * * 4" # UTC 18:00 CST 24:00
77
successfulJobsHistoryLimit: 0
88
failedJobsHistoryLimit: 0
99
jobTemplate:

0 commit comments

Comments
 (0)