Currently in QuartzScheduling.stop function it always waits until all tasks are finished
public void stop() throws Exception {
if (started) {
this.scheduler.shutdown(true); // <---
started = false;
log.info("Quartz stopped");
}
}
It would be very useful if user can decide whether or not they want the scheduler to shutdown without waiting for the task to finish - as for now whenever I tried to stop my system, it can take few minutes due to existing long-running task
Currently in
QuartzScheduling.stopfunction it always waits until all tasks are finishedIt would be very useful if user can decide whether or not they want the scheduler to shutdown without waiting for the task to finish - as for now whenever I tried to stop my system, it can take few minutes due to existing long-running task