-
Describe the bug The results obtained by calling the CheckExists method and the GetCurrentlyExecutingJobs method are different Version used 3.5.0 Expected behavior I saw that the implementation of CheckExists is to judge whether the Job exists from the JOB_DETAILS table of the data. However, GetCurrentlyExecutingJobs seems to get the running Jobs from the memory. I don't know if there is a delay in updating the database. If there is a delay, will there be inconsistent results between CheckExists and GetCurrentlyExecutingJobs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
They serve a different purpose. |
Beta Was this translation helpful? Give feedback.
They serve a different purpose.
CheckExists
will tell if job has been registered, it might not have any triggers associated and thus might not ever be even running.GetCurrentlyExecutingJobs
reports jobs that are currently actively executing in the specific scheduler instance.