Esempio n. 1
0
 public void removeAllJobs() throws SchedulerException {
   for (String groupName : quartzScheduler.getJobGroupNames()) {
     for (JobKey jobKey : quartzScheduler.getJobKeys(GroupMatcher.jobGroupEquals(groupName))) {
       quartzScheduler.deleteJob(jobKey);
     }
   }
 }
Esempio n. 2
0
 public void removeJob(JobKey jobKey) throws SchedulerException {
   quartzScheduler.deleteJob(jobKey);
 }