Reputation: 259
Can someone let me know the difference between deleteJob() and unscheduleJob() of quartz 1.8.5?
Thanks.
Upvotes: 12
Views: 10408
Reputation: 5053
If you look at the implementations of both methods in QuartzScheduler.java , you'll notice that deleteJob(JobKey jobKey)
whereas unscheduleJob(TriggerKey triggerKey) just unschedules a trigger, so if other triggers reference this job, they won't be changed.
Upvotes: 18