/** * Removes the job from the schedule if it exists. * * @param id */ public synchronized void removeScheduledJob(String id) { ScheduledJob job = scheduleIDMap.get(id); scheduleIDMap.remove(id); runner.removeScheduledJob(job); loader.saveSchedule(getSchedule()); }
/** Save the schedule */ private void saveSchedule() { loader.saveSchedule(getSchedule()); }