mirror of
https://github.com/fergalmoran/Quartzmin.git
synced 2026-01-03 23:35:52 +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 jobKeys = await Scheduler.GetJobKeys(GroupMatcher<JobKey>.AnyGroup());
|
||||||
var triggerKeys = await Scheduler.GetTriggerKeys(GroupMatcher<TriggerKey>.AnyGroup());
|
var triggerKeys = await Scheduler.GetTriggerKeys(GroupMatcher<TriggerKey>.AnyGroup());
|
||||||
var currentlyExecutingJobs = await Scheduler.GetCurrentlyExecutingJobs();
|
var currentlyExecutingJobs = await Scheduler.GetCurrentlyExecutingJobs();
|
||||||
var pausedJobGroups = await GetGroupPauseState(await Scheduler.GetJobGroupNames(), async x => await Scheduler.IsJobGroupPaused(x));
|
IEnumerable<object> pausedJobGroups = null;
|
||||||
var pausedTriggerGroups = await GetGroupPauseState(await Scheduler.GetTriggerGroupNames(), async x => await Scheduler.IsTriggerGroupPaused(x));
|
IEnumerable<object> pausedTriggerGroups = null;
|
||||||
|
|
||||||
IEnumerable<ExecutionHistoryEntry> execHistory = 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? failedJobs = null;
|
||||||
int executedJobs = metadata.NumberOfJobsExecuted;
|
int executedJobs = metadata.NumberOfJobsExecuted;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user