Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

setUnscheduleAllTriggers (true) does not have any effect #176

Open
maTuaner opened this issue Aug 14, 2019 · 1 comment
Open

setUnscheduleAllTriggers (true) does not have any effect #176

maTuaner opened this issue Aug 14, 2019 · 1 comment

Comments

@maTuaner
Copy link

maTuaner commented Aug 14, 2019

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.

@michaelklishin
Copy link
Owner

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 michaelklishin changed the title setUnscheduleAllTriggers (true); This method doesn't work setUnscheduleAllTriggers (true) does not have any effect Jul 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants