quartz-mongodb icon indicating copy to clipboard operation
quartz-mongodb copied to clipboard

setUnscheduleAllTriggers (true) does not have any effect

Open maTuaner opened this issue 6 years ago • 1 comments
trafficstars

try {
            Integer.parseInt("a");
        }catch (Exception e){
            JobExecutionException e2 = new JobExecutionException(e);
            e2.setUnscheduleAllTriggers(true);
            throw e2;
        }

e2.setUnscheduleAllTriggers(true); This method doesn't work. The trigger associated with the job is still running. What do I need to do to make it work? Thanks.

maTuaner avatar Aug 14 '19 11:08 maTuaner

Perhaps that operation doesn't perform the necessary table updates. I haven't used it or have seen it used, so it can be an overlooked API part. Feel free to investigate and submit a pull request.

michaelklishin avatar Aug 14 '19 11:08 michaelklishin