Skip to content

Commit 934896a

Browse files
authored
fix: clarify day of the week in cron job documentation
The cron scheduling syntax documentation was copied from somewhere else, and included an optional part of the spec (sundays can be referenced as 0 or 7) that is not implemented by kubernetes. This is unnecessarily confusing.
1 parent 5dc3c14 commit 934896a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/concepts/workloads/controllers/cron-jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ The `.spec.schedule` field is required. The value of that field follows the [Cro
5555
# │ ┌───────────── hour (0 - 23)
5656
# │ │ ┌───────────── day of the month (1 - 31)
5757
# │ │ │ ┌───────────── month (1 - 12)
58-
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
59-
# │ │ │ │ │ 7 is also Sunday on some systems)
58+
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
6059
# │ │ │ │ │ OR sun, mon, tue, wed, thu, fri, sat
60+
# │ │ │ │ │
6161
# │ │ │ │ │
6262
# * * * * *
6363
```

0 commit comments

Comments
 (0)