How-To: Unscheduling a Job

Unscheduling a Particular Trigger of 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"));