Skip to main content

Interface: ScheduleServiceStats

Defined in: src/interfaces.ts:1611

Aggregate statistics about all managed schedules.

Example​

const stats = scheduleService.getScheduleStats();
console.log(`Active schedules: ${stats.active}/${stats.total}`);
if (stats.errors > 0) {
console.warn(`${stats.errors} schedules have errors`);
}

Properties​

active​

active: number

Defined in: src/interfaces.ts:1613


errors​

errors: number

Defined in: src/interfaces.ts:1615


inactive​

inactive: number

Defined in: src/interfaces.ts:1614


lastUpdated?​

optional lastUpdated?: Date

Defined in: src/interfaces.ts:1616


total​

total: number

Defined in: src/interfaces.ts:1612