scheduling
scheduling
¶
Pure recurrence calculation for declared score schedules.
Classes¶
Functions:¶
parse_interval_seconds
¶
Parse a positive, whitespace-free interval declaration into seconds.
Supported unit suffixes are seconds (s), minutes (m), hours
(h), and days (d). Decimal values are accepted.
Source code in src/marianne/core/scheduling.py
next_due_at
¶
Return the first scheduled UTC instant strictly later than after.
Cron expressions calculate from an aware datetime in the configured IANA zone, preserving that zone's daylight-saving rules. Interval expressions advance from the prior scheduled start when supplied, avoiding schedule drift caused by delayed dispatch.