pub fn next_schedule_task( schedule: &ScheduleDefinition, last_task: Option<UnixNanos>, time: UnixNanos, ) -> Option<UnixNanos>
Return the next task time for a schedule.