Expand description
Quartz cron schedule helpers shared by every rotation surface.
Structsยง
- Rotation
Schedule Client - The WASM-facing surface for the schedule helpers.
Enumsยง
- Quartz
Schedule Preset - A named rotation schedule, for presentation only; the server stores only the cron string.
Constantsยง
- DAILY_
CRON ๐ - EVERY_
6_ ๐HOURS_ CRON - HOURLY_
CRON ๐ - The canonical Quartz cron expression for each named preset. Quartz has 6 or 7 fields
(
seconds minutes hours day-of-month month day-of-week [year]), one more than UNIX cron. - MONTHLY_
CRON ๐ - WEEKLY_
CRON ๐
Functionsยง
- is_
likely_ quartz_ cron - Reports whether a string is shaped like a Quartz cron expression. Checks only field count and character set; the server is authoritative.
- preset_
for_ cron - Derives the preset that best describes a stored cron expression. Absent or blank is
QuartzSchedulePreset::None, an exact match (ignoring surrounding whitespace) is that preset, and anything else isCustom.