Quick Start
Triggers
Interval
Fire at regular intervals:float
required
Interval between executions in seconds. Must be greater than 0.
OneShot
Fire exactly once, then stop:float
Seconds from now until fire. Use either
delay or fire_at.float
Absolute Unix timestamp to fire at. Use either
delay or fire_at.Handler Return Values
Handlers control what happens when a trigger fires:Scheduler
Constructor
Job Management
Callbacks
Job Lifecycle
Persistence
InMemoryJobStore (default)
Jobs are lost when the process exits.SQLiteJobStore
Persist jobs across restarts:Agent Integration
Agents with triggers auto-create a scheduler:agent.serve(), the scheduler starts automatically alongside interfaces, webhooks, and HTTP endpoints.