.withMisfireHandlingInstructionIgnoreMisfires();
trigger = TriggerBuilder.newTrigger().withIdentity(jobHandle, ALARM_SERVICE).startAt(start.toDate())
.endAt(end.toDate()).withSchedule(scheduleBuilder).build();
} else { // for cron expression create a cron trigger
trigger = TriggerBuilder.newTrigger().withIdentity(jobHandle, ALARM_SERVICE).startAt(start.toDate())
<BUG>.endAt(end.toDate()).withSchedule(CronScheduleBuilder.cronSchedule(frequency.getCronExpression())).build();
}</BUG>
try {
scheduler.scheduleJob(job, trigger);
} catch (SchedulerException e) {

.withMisfireHandlingInstructionIgnoreMisfires();
trigger = TriggerBuilder.newTrigger().withIdentity(jobHandle, ALARM_SERVICE).startAt(start.toDate())
.endAt(end.toDate()).withSchedule(scheduleBuilder).build();
} else { // for cron expression create a cron trigger
trigger = TriggerBuilder.newTrigger().withIdentity(jobHandle, ALARM_SERVICE).startAt(start.toDate())
.endAt(end.toDate()).withSchedule(CronScheduleBuilder.cronSchedule(frequency.getCronExpression())
.withMisfireHandlingInstructionIgnoreMisfires()).build();
}
try {
scheduler.scheduleJob(job, trigger);
} catch (SchedulerException e) {
