You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this when you want the schedule to reflect a team's local business hours without manually converting everything to UTC.
73
149
74
150
## Understand scattering
75
151
76
152
`ado-aw`does not always compile a fuzzy schedule to the exact same wall-clock minute you typed.
77
153
78
-
Instead, it applies **scattering**: a deterministic offset that spreads runs out to avoid a thunderingherd effect.
154
+
Instead, it applies **scattering**: a deterministic offset based on the agent name that spreads runs out to avoid thundering-herd effects.
79
155
80
156
For example:
81
157
@@ -87,10 +163,10 @@ on:
87
163
means:
88
164
89
165
- stay near 14:00
90
-
- pick a stable offset for this agent
166
+
- pick a stable offset for this specific agent
91
167
- avoid scheduling every agent at the exact same minute
92
168
93
-
This helps when many teams use convenient schedule times like midnight, 9 AM, or the top of the hour.
169
+
This helps when many teams use convenient schedule times like midnight, 9 AM, or the top of the hour. Scattering applies to all schedule types **except** minute intervals, which always run at fixed intervals.
94
170
95
171
## Know what happens at compile time
96
172
@@ -107,7 +183,7 @@ You write the friendly expression; the compiler emits the precise schedule.
107
183
108
184
## Schedule specific branches
109
185
110
-
If you want more than the default branch behavior, use the object form:
186
+
By default, scheduled runs fire on the `main` branch only. To specify different branches, use the object form:
111
187
112
188
```yaml
113
189
on:
@@ -149,10 +225,21 @@ on:
149
225
150
226
Use this when you need a repeated check throughout the day.
151
227
228
+
### Frequent monitoring
229
+
230
+
```yaml
231
+
on:
232
+
schedule: every 15 minutes
233
+
```
234
+
235
+
Use this for lightweight checks that need to run often. Remember: minute intervals are fixed, not scattered.
236
+
152
237
## Tips for choosing a schedule
153
238
154
239
- Use `daily around ...` for routine maintenance jobs.
155
240
- Use `weekly on ...` for lower-frequency cleanup or reporting.
156
241
- Use `every N hours` for repeated monitoring or polling.
242
+
- Use `every N minutes` for high-frequency, latency-sensitive checks.
157
243
- Add a timezone when the schedule should track local working hours.
158
244
- Let scattering do its job instead of trying to force an exact shared minute across many agents.
245
+
- Prefer hour-based schedules over minute intervals when sub-hourly frequency is not truly required.
0 commit comments