SimpleTrigger trigger = new SimpleTrigger(jobDetail.getName(), jobDetail.getGroup());
trigger.setVolatility(false);
SchedulerLocal scheduler = LookupUtil.getSchedulerBean();
boolean cancelled = scheduler.interrupt(RepoSyncJob.createJobName(repo), REPO_SYNC_JOB_IMMEDIATE_GROUP_NAME);
getLog().info("Cancelled repo sync job [" + jobDetail.getName() + ':' + jobDetail.getGroup() + "].");
}
/**