Skip to main content

Crate solti_cron

Crate solti_cron 

Source
Expand description

Calendar scheduling for Taskvisor tasks.

CronSchedule parses five-field cron expressions, or six fields with seconds, in an explicit IANA timezone. CronTask runs an existing taskvisor::TaskRef sequentially at future occurrences, inside one supervised attempt. Taskvisor retains ownership of admission, retries, cancellation, and shutdown. This crate does not spawn background workers or persist schedules.

Structs§

CronSchedule
Immutable cron expression evaluated in one explicit IANA timezone.
CronTask
Calendar wrapper around one reusable Taskvisor task.
DateTime
UTC calendar instants accepted and returned by the schedule API. ISO 8601 combined date and time with time zone.
Utc
UTC calendar instants accepted and returned by the schedule API. The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).

Enums§

CronError
Invalid calendar configuration or an occurrence search failure.
Tz
IANA timezone identifiers used by CronSchedule. TimeZones built at compile time from the tz database