Skip to main content

Module schedule_port

Module schedule_port 

Source
Expand description

SchedulePort — cron/interval/daily/weekly triggers with next_run.

Core defines trigger shapes and the port contract; substrate-schedule wraps a vetted cron library for expression parsing.

Structs§

ScheduleInstant
Opaque instant for schedule calculations (unix epoch seconds).

Enums§

ScheduleTrigger
A schedule trigger specification.
Weekday
Day-of-week for weekly schedules (0 = Sunday … 6 = Saturday).

Traits§

SchedulePort
Computes the next fire time for a ScheduleTrigger.