Skip to content

Commit c6347b7

Browse files
authored
actions-scheduled-workflow-example: fix cron spec (#5572)
The prior cron spec would trigger 4 times a day, at 05:00, 05:30, 17:00, and 17:30. The `*/30` is "any minute divisible by thirty" which is twice per hour. So fix the spec to use `30` in place of `*/30` to match the description.
1 parent d5ba691 commit c6347b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/reusables/repositories/actions-scheduled-workflow-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ This example triggers the workflow every day at 5:30 and 17:30 UTC:
66
on:
77
schedule:
88
# * is a special character in YAML so you have to quote this string
9-
- cron: '*/30 5,17 * * *'
9+
- cron: '30 5,17 * * *'
1010

1111
```

0 commit comments

Comments
 (0)