Skip to content

Commit

Permalink
mintmaker: fix invalid k8s cronjob schedule
Browse files Browse the repository at this point in the history
The k8s CronJob schedule uses a syntax similar to Linux crontab, but
it has a key difference: the day of the week field only accepts values
from 0 to 6.
  • Loading branch information
qixiang committed Nov 20, 2024
1 parent 299ff11 commit eb9c8a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: create-dependencyupdatecheck
namespace: mintmaker
spec:
schedule: "0 */4 * * 5-7" # every 4 hours from Friday to Sunday
schedule: "0 */4 * * 5-6" # every 4 hours from Friday to Saturday
jobTemplate:
spec:
template:
Expand Down

0 comments on commit eb9c8a9

Please sign in to comment.