In Quartz.NET, I want to get current executing jobs as a list.
var jobs = scheduler.GetCurrentlyExecutingJobs();
But it didn't return an IEnumerable
result. I can not make it IEnumerable
to get JobKeys
.
Actually I want to pause a scheduled job when the other one is starting to run. But I don't know how to do.