Quartz Scheduler Example Programs and Sample Code : Quartz Code Snippets : How-To: Unschedule a Job
How-To: Unschedule a Job
Unscheduling a Particular Trigger from a Job
// Unschedule a particular trigger from the job (a job may have more than one trigger)
scheduler.unscheduleJob(triggerKey("trigger1", "group1"));
Deleting a Job and Unscheduling all of its Triggers
// Schedule the job with the trigger
scheduler.deleteJob(jobKey("job1", "group1"));
Copyright © 2010-2016 Software AG, Darmstadt, Germany.

Product Logo |   Feedback