This article addresses an issue where an AutoSys job, scheduled with a start_times attribute that falls within the repeated hour of a Daylight Saving Time (DST) "fall back" event, does not trigger as expected. The job has a time-based look-back condition to check for the success of a predecessor job.
The observed behavior is:
CAUAJM_I_40162 The starting conditions for job <issue_job_name> have not been met. Cannot be started.This can lead to the job missing its scheduled execution unless manually started
12.1 (and potentially other versions)
The behavior is the result of two distinct functions within the AutoSys scheduler when handling the autumn time change.
Scheduling During the Repeated Hour:
This part of the behavior is by design. To prevent jobs from running twice or to avoid ambiguity, the AutoSys scheduler will intentionally skip the first instance of a repeated hour. Any job scheduled to start during that hour will be scheduled to run during the second instance of that hour. For example, a job scheduled for 1:00 AM during a "fall back" where the clock moves from 1:59 AM back to 1:00 AM will only be considered for execution at the second 1:00 AM.
Failure of the Look-Back Condition:
The condition failure is a side effect of the scheduling delay. The look-back condition s(job_name,HH.MM) checks if the predecessor job succeeded within the last HH.MM period from the time the dependent job is evaluated.
condition: s(...,01.00).01.00 (one-hour) look-back window, causing the condition to fail.To prevent this issue, you can apply one of the following workarounds:
Extend the Look-Back Period:
Temporarily modify the job definition to extend the look-back period to cover the extra hour from the DST change. For the day of the time change, you would change the condition to look back at least two hours.
condition: s(dependant_job_name,01.00) to condition: s(dependant_job_name,02.00).Adjust Job Scheduling:
Schedule the dependent job to run outside of the repeated hour. For example, setting the start_times to "02:01" would avoid the ambiguity of the repeated 1:00 AM hour altogether.
Refer to the explanation below clearly explained: