2025-09-17 01:40:03 +03:00

22 lines
390 B
JavaScript

class SchedulerService {
constructor() {
this.jobs = new Map();
this.isRunning = false;
}
start() {
this.isRunning = true;
console.log('๐Ÿ“ˆ Scheduler service started');
}
stop() {
this.isRunning = false;
console.log('๐Ÿ“ˆ Scheduler service stopped');
}
getJobStatus() {
return { scheduler: 'running' };
}
}
module.exports = SchedulerService;