Skip to main content

GetCatchUpTimes

Returns all scheduled times in (lastExecTime, to] for a trigger.

def GetCatchUpTimes(
t: *models.Trigger,
to: time.Time
) - > []time.Time, error

Returns all scheduled times in (lastExecTime, to] for a trigger.

Parameters

NameTypeDescription
t*models.TriggerThe trigger object for which to calculate catch-up times.
totime.TimeThe upper bound (exclusive) for the scheduled times to be returned.

Returns

TypeDescription
[]time.Time, errorA slice of time.Time objects representing the scheduled catch-up times, and an error if scheduling fails.