Skip to content

Scheduling

Scheduling governs recurring, time-driven work in matic. Routines are the primary primitive: markdown-defined, cron- or natural-language-scheduled emitters that fire Signals into the work lifecycle at org, project, team, or agent scope. This section covers the CLI surface for authoring routines, inspecting upcoming fires, triggering them on demand, and reconciling fires that the runtime missed.

routine-add

Create a new routine with its schedule, scope, and the signal type it emits on fire.

routine-edit

Modify an existing routine's schedule, scope, or emission payload without reauthoring it.

routine-list

Enumerate routines at a given scope, with next-fire time, last fire, and enablement status.

routine-remove

Delete a routine and halt its scheduled emissions, preserving historical fire records.

routine-trigger

Fire a routine immediately, out-of-band from its schedule, for testing or manual recovery.

schedule-upcoming

Show the forward calendar of routine fires and scheduled events across selected scopes.

missed-fires

Inspect routine fires the runtime failed to dispatch, review retry state, and replay or dismiss them.