Schedule definitions
A schedule is defined by aScheduleDefinition:
Evaluation
Schedules are evaluated at discrete ticks usingevaluate_schedules_at_tick:
ScheduleEvaluation containing the tick timestamp and a sorted vector of ScheduleTrigger entries for every schedule that is due at that tick.
Trigger ordering
Due triggers are sorted by:due_tick_ms(ascending)schedule_id(alphabetical)interval(alphabetical)timezone(alphabetical)
Dispatch
When a schedule fires, the runtime dispatches it through the scheduling module via MCP tool call. The dispatch report includes:Validation
Schedule definitions are validated before evaluation:- Schedule IDs must be non-empty and unique (after canonicalization)
- Intervals must be valid cron expressions
- Timezones must be valid IANA timezone names
ScheduleValidationError variants:
Limits
The RPC API enforces a maximum of 256 schedules per request (MAX_SCHEDULES_PER_REQUEST). This prevents unbounded evaluation cost.
See also
- Delivery — scheduled deliveries
- RPC API —
scheduling.*methods - Configuration — schedule-related settings
