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§
- Cron
Schedule - Immutable cron expression evaluated in one explicit IANA timezone.
- Cron
Task - Calendar wrapper around one reusable Taskvisor task.
- Date
Time - 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§
- Cron
Error - Invalid calendar configuration or an occurrence search failure.
- Tz
- IANA timezone identifiers used by
CronSchedule. TimeZones built at compile time from the tz database