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
|`at`|`--at`| One-shot time: ISO 8601, `HH:MM`/`HH:MM:SS`, or relative duration like `20m`|
69
+
|`every`|`--every`| Fixed interval |
70
+
|`cron`|`--cron`| 5-field or 6-field cron expression with optional `--tz`|
71
71
72
-
Timestamps without a timezone are treated as UTC. Add `--tz America/New_York` for local wall-clock scheduling.
72
+
Timestamps and time-only values without a timezone are treated as UTC. Add `--tz America/New_York` for local wall-clock scheduling.
73
73
74
74
Recurring top-of-hour expressions are automatically staggered by up to 5 minutes to reduce load spikes. Use `--exact` to force precise timing or `--stagger 30s` for an explicit window.
Copy file name to clipboardExpand all lines: docs/cli/cron.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ reported as pre-model cron failures.
131
131
132
132
### One-shot jobs
133
133
134
-
`--at <datetime>` schedules a one-shot run. Offset-less datetimes are treated as UTC unless you also pass `--tz <iana>`, which interprets the wall-clock time in the given timezone.
134
+
`--at <when>` schedules a one-shot run. It accepts ISO timestamps, offset-less datetimes, time-only values like `09:00` or `09:00:30`, and relative durations like `20m` or `+20m`. Offset-less and time-only values are treated as UTC unless you also pass `--tz <iana>`, which interprets the wall-clock time in the given timezone.
135
135
136
136
<Note>
137
137
One-shot jobs delete after success by default. Use `--keep-after-run` to preserve them.
0 commit comments