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
| Name | Type | Description |
|---|---|---|
| t | *models.Trigger | The trigger object for which to calculate catch-up times. |
| to | time.Time | The upper bound (exclusive) for the scheduled times to be returned. |
Returns
| Type | Description |
|---|---|
[]time.Time, error | A slice of time.Time objects representing the scheduled catch-up times, and an error if scheduling fails. |