def __schedule_next_time__(self): if len(self._scheduled_start_time_list) == 1: # no rescheduling necessary return self._scheduled_start_time = MyDate.get_nearest_time_in_list(self._scheduled_start_time_list) print('{}: Rescheduled for next run at {}'.format(self.job_name, self._scheduled_start_time))
def __init_scheduled_start_time__(self): if len(self._scheduled_start_time_list) == 1: return self._scheduled_start_time_list[0] return MyDate.get_nearest_time_in_list(self._scheduled_start_time_list)