Initial
This commit is contained in:
@@ -4,6 +4,7 @@ import { listSystemJobActions, recordSystemJobAction } from '../models/systemJob
|
||||
import { syncDynamicHostGroups } from '../models/hostGroupModel.js';
|
||||
import { runCatalogChecks } from './catalogWorker.js';
|
||||
import { runAutoPromotions } from './promotionWorker.js';
|
||||
import { dispatchDueRunPlanSchedules } from './runPlanScheduleWorker.js';
|
||||
import { cancelExecutionJob, appendJobLog, activeExecutionJobIds } from './powershellRunner.js';
|
||||
|
||||
const backgroundRuns = new Map();
|
||||
@@ -29,6 +30,13 @@ const BACKGROUND_JOBS = [
|
||||
category: 'Intune',
|
||||
description: 'Promotes deployment rings when configured soak windows elapse.',
|
||||
run: async ({ signal } = {}) => runAutoPromotions({ signal })
|
||||
},
|
||||
{
|
||||
id: 'worker:runplan-schedule-dispatch',
|
||||
name: 'RunPlan Schedule Dispatch',
|
||||
category: 'Scheduling',
|
||||
description: 'Queues due automated RunPlan schedules and records dispatch history.',
|
||||
run: async ({ signal } = {}) => dispatchDueRunPlanSchedules({ signal })
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user