I have a Scheduler
object in my application and I add Job
s to it using the scheduleJob
method.
In my code I schedule Job
s with an instant Trigger
:
TriggerBuilder.newTrigger().startNow().build();
My question is how to tell which Job
s are scheduled into my Scheduler
? There is only a getCurrentlyExecutingJobs
method which seems unreliable so far.