Skip to content

Commit d2482ed

Browse files
authored
Add timezone to cron triggers examples (#20151)
* Add timezone to cron triggers examples https://developers.cloudflare.com/workers/configuration/cron-triggers/#:~:text=Cron%20Triggers%20execute%20on%20UTC%20time. 👆 too easy to skip in docs. Examples refer to times, but no timezone, therefore incomplete information in examples. Adding UTC for completeness (accepting repetitiveness) * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx * Update src/content/docs/workers/configuration/cron-triggers.mdx
1 parent b65f42f commit d2482ed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Refer to the example below for a Cron Triggers configuration:
4848
[triggers]
4949
# Schedule cron triggers:
5050
# - At every 3rd minute
51-
# - At 3PM on first day of the month
52-
# - At 11:59PM on the last weekday of the month
51+
# - At 15:00 (UTC) on first day of the month
52+
# - At 23:59 (UTC) on the last weekday of the month
5353
crons = [ "*/3 * * * *", "0 15 1 * *", "59 23 LW * *" ]
5454
```
5555

@@ -106,22 +106,22 @@ Some common time intervals that may be useful for setting up your Cron Trigger:
106106

107107
- `0 17 * * sun` or `0 17 * * 1`
108108

109-
- 5PM on Sunday
109+
- 17:00 (UTC) on Sunday
110110

111111
- `10 7 * * mon-fri` or `10 7 * * 2-6`
112112

113-
- 7:10AM on weekdays
113+
- 07:10 (UTC) on weekdays
114114

115115
- `0 15 1 * *`
116116

117-
- 3PM on first day of the month
117+
- 15:00 (UTC) on first day of the month
118118

119119
- `0 18 * * 6L` or `0 18 * * friL`
120120

121-
- 6PM on the last Friday of the month
121+
- 18:00 (UTC) on the last Friday of the month
122122

123123
- `59 23 LW * *`
124-
- 11:59PM on the last weekday of the month
124+
- 23:59 (UTC) on the last weekday of the month
125125

126126
## Test Cron Triggers
127127

0 commit comments

Comments
 (0)