Skip to content

Commit 62b3266

Browse files
lintopaulTim Bannister
andauthored
fixed cron job interpretation in the example (#47652)
* fixed cron job interpretation in the example the cron job in this example runs on the intersection of 13th of every month and Friday, not the union of these conditions. If the 13th falls on any other day of the week, the job will not run. * Update cron-jobs.md new cron example that is more realistic * Update cron-jobs.md replaced cron example with a simple one * Update content/en/docs/concepts/workloads/controllers/cron-jobs.md Co-authored-by: Tim Bannister <[email protected]> --------- Co-authored-by: Tim Bannister <[email protected]>
1 parent 77fbce0 commit 62b3266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The `.spec.schedule` field is required. The value of that field follows the [Cro
6565
# * * * * *
6666
```
6767

68-
For example, `0 0 13 * 5` states that the task must be started every Friday at midnight, as well as on the 13th of each month at midnight.
68+
For example, `0 3 * * 1` means this task is scheduled to run weekly on a Monday at 3 AM.
6969

7070
The format also includes extended "Vixie cron" step values. As explained in the
7171
[FreeBSD manual](https://www.freebsd.org/cgi/man.cgi?crontab%285%29):

0 commit comments

Comments
 (0)