Quartz Scheduler Example Programs and Sample Code : Quartz Code Snippets : How-To: List Jobs in the Scheduler
How-To: List Jobs in the Scheduler
Listing all Jobs in the scheduler
// enumerate each job group
for(String group: sched.getJobGroupNames()) {
// enumerate each job in group
for(JobKey jobKey : sched.getJobKeys(groupEquals(group))) {
System.out.println("Found job identified by: " + jobKey);
}
}
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback