Skip to main content

Module scheduler

Module scheduler 

Source
Expand description

Recurring-run scheduling (roadmap E11). Translates user-friendly presets, intervals, one-shots, and raw cron expressions into persisted next_run_at instants for the background scheduler.

Structs§

ScheduleOptions
SchedulePatch
Patch from the UI to create or update a flow’s schedule. camelCase to match the desktop + server command payloads.
SchedulePreviewRequest
Schedule preview request used by the UI/CLI to show upcoming fire times before saving.

Enums§

CatchUpPolicy
Missed-run policy when the app/server was not running at the scheduled time.
ScheduleFrequency
Supported recurrence cadences. Anchored on a user-chosen instant whose minute/hour/weekday/day-of-month/month select the recurring slot.

Functions§

cron_expr
A 5-field cron projection of preset schedules, for display only.
next_run_after
Calculate the next fire instant strictly after after, honoring optional end conditions.
preview