Re-exports§
pub use actions::get_cron_actions;pub use providers::get_cron_providers;pub use providers::CronContextProvider;
Modules§
Structs§
- Action
Example - Action
Result - Cron
Config - Service-level configuration.
- Cron
Service - High-level cron service handling CRUD, scheduling, and execution coordination.
- Cron
Storage - In-memory storage for cron job definitions.
- JobDefinition
- Complete definition of a cron job.
- JobUpdate
- Partial updates for a job.
- Provider
Result
Enums§
- JobState
- Runtime state of a cron job.
- Payload
Type - What the job does when it fires.
- Schedule
Type - How a job is scheduled to run.
Constants§
Traits§
Functions§
- compute_
next_ run - Computes the next run time from a given reference point.
- format_
schedule - Formats a
ScheduleTypeas a human-readable string. - parse_
natural_ language_ schedule - Parses simple natural language schedule descriptions.
- parse_
schedule - Parses a schedule string into a
ScheduleType. - validate_
cron_ expression - Validates a standard 5-field cron expression.