/** * Unschedule the given job. * * @param job the job to unschedule * @throws JobSchedulerException thrown if an exception occurs during job unscheduling */ public void unschedule(final org.easybatch.core.job.Job job) throws JobSchedulerException { LOGGER.log(Level.INFO, "Unscheduling job {0} ", job); try { scheduler.unscheduleJob(TriggerKey.triggerKey(TRIGGER_NAME_PREFIX + job.getExecutionId())); } catch (SchedulerException e) { throw new JobSchedulerException("Unable to unschedule job " + job, e); } }