Skip to content

Commit a27ceef

Browse files
add note about the days of the week in cron settings (cloudflare#21257)
1 parent 3e6ab94 commit a27ceef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content/docs/workers/configuration/cron-triggers.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ Cloudflare supports cron expressions with five fields, along with most [Quartz s
8888
| Months | 1-12, case-insensitive 3-letter abbreviations ("JAN", "aug", etc.) | \* , - / |
8989
| Weekdays | 1-7, case-insensitive 3-letter abbreviations ("MON", "fri", etc.) | \* , - / L # |
9090

91+
:::note
92+
93+
Days of the week go from 1 = Sunday to 7 = Saturday, which is different on some other cron systems (where 0 = Sunday and 6 = Saturday).
94+
To avoid ambiguity you may prefer to use the three latter abbreviations (e.g. `SUN` rather than 1).
95+
96+
:::
97+
9198
### Examples
9299

93100
Some common time intervals that may be useful for setting up your Cron Trigger:

0 commit comments

Comments
 (0)