THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class CalendarCronTrigger(CronTrigger): (source)
Choose the first occurrence of each existing local cron time.
A forward clock change skips nonexistent matches. A backward change schedules each repeated wall time once.
| Method | _get |
Find the next cron match within the task's scheduling window. |
| Class Variable | __slots__ |
Reserve storage for the cached calendar trigger. |
| Instance Variable | _calendar |
Cached UTC trigger that searches the task's cron fields by wall time. |
def _getNextFireTime(self, previous_fire_time:
datetime | None, now: datetime) -> datetime | None:
(source)
¶
Find the next cron match within the task's scheduling window.
| Parameters | |
previousdatetime.datetime or None | Last scheduled instant, or None before the first run. |
now:datetime.datetime | Scheduler clock used to find the first run. |
| Returns | |
datetime.datetime or None | Next run in the task zone after any jitter, or None when exhausted. |