mirror of
https://github.com/fergalmoran/Quartzmin.git
synced 2025-12-22 09:27:38 +00:00
fix NotImplementedException thrown by AdoJobStore
This commit is contained in:
@@ -31,11 +31,19 @@ namespace Quartzmin.Controllers
|
||||
var jobKeys = await Scheduler.GetJobKeys(GroupMatcher<JobKey>.AnyGroup());
|
||||
var triggerKeys = await Scheduler.GetTriggerKeys(GroupMatcher<TriggerKey>.AnyGroup());
|
||||
var currentlyExecutingJobs = await Scheduler.GetCurrentlyExecutingJobs();
|
||||
var pausedJobGroups = await GetGroupPauseState(await Scheduler.GetJobGroupNames(), async x => await Scheduler.IsJobGroupPaused(x));
|
||||
var pausedTriggerGroups = await GetGroupPauseState(await Scheduler.GetTriggerGroupNames(), async x => await Scheduler.IsTriggerGroupPaused(x));
|
||||
|
||||
IEnumerable<object> pausedJobGroups = null;
|
||||
IEnumerable<object> pausedTriggerGroups = null;
|
||||
IEnumerable<ExecutionHistoryEntry> execHistory = null;
|
||||
|
||||
try
|
||||
{
|
||||
pausedJobGroups = await GetGroupPauseState(await Scheduler.GetJobGroupNames(), async x => await Scheduler.IsJobGroupPaused(x));
|
||||
} catch (NotImplementedException) { }
|
||||
|
||||
try {
|
||||
pausedTriggerGroups = await GetGroupPauseState(await Scheduler.GetTriggerGroupNames(), async x => await Scheduler.IsTriggerGroupPaused(x));
|
||||
} catch (NotImplementedException) { }
|
||||
|
||||
int? failedJobs = null;
|
||||
int executedJobs = metadata.NumberOfJobsExecuted;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user