How to cancel the schedule of all tasks using quartz?

Today I repeat

public void unschedule(final ScheduledEvent event) throws SchedulerException { ... scheduler.deleteJob(event.getName(), "my group"); ... } 

If I want to cancel the schedule of all tasks, can this be done better (faster)?

+4
source share
1 answer

Scheduler#clear() will delete EVERYTHING, including triggers and calendars

If this is too heavy then I think your iterator is the only alternative

+11
source

All Articles