runtraj.execution.schedule.check_now#

runtraj.execution.schedule.check_now(now)[source]#

Return now in UTC without a time zone, or the clock’s time when it is None.

Raises:

ValueError – If now is later than the clock: a tick can only add hours that are past, and a release in the future would hide a gap from every later tick.

Return type:

datetime

Parameters:

now (datetime | None)