25

I want to use Quartz Framework in my application. There are two jobs in the scheduler. Now I want to check if job1 is running. How can I check? I have tried to Google it but failed to find the solution.

I am following the first of example from Quartz distribution.

1

2 Answers 2

28

You can use scheduler.getCurrentlyExecutingJobs() to get a list of all jobs which are currently running.

0
5

Please note that scheduler.getCurrentlyExecutingJobs() just checks for the current scheduler instance,not the whole cluster.

1
  • 1
    Hi, any idea how to check across the whole cluster? May 14, 2020 at 3:21

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.