public boolean continueOnMisfire(JobExecutionContext jobExecutionContext) {
    if (jobExecutionContext != null) {
      Date scheduledTime = jobExecutionContext.getScheduledFireTime();
      Long diff = DateUtils.getDateDifferenceInMinutes(scheduledTime);
      return (diff < configuration.getExecutionSchedulerMisfireToleration());
    }
    return true;
  }
Find out by how much did a schedule misfire and decide whether to continue
based on configuration
@param jobExecutionContext
@return
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java