Ejemplo n.º 1
0
  /**
   * 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());
  }
Ejemplo n.º 2
0
 /** Save the schedule */
 private void saveSchedule() {
   loader.saveSchedule(getSchedule());
 }