Skip to main content

StartTime

Returns the earliest point from which to start scheduling. For fixed-rate schedules with a start_time, it returns that start_time advanced past the last execution time; otherwise, it falls back to TriggeredAt or DeployedAt.

def StartTime(
t: *models.Trigger
) - > time.Time, error

Returns the earliest point from which to start scheduling. For fixed-rate schedules with a start_time, returns that start_time advanced past the last execution time. Otherwise falls back to TriggeredAt or DeployedAt.

Parameters

NameTypeDescription
t*models.TriggerThe trigger object containing automation specifications and schedule details.

Returns

TypeDescription
time.Time, errorThe calculated start time for scheduling and an error if unmarshalling fails.