Overview
Implement a Scheduler module that runs background jobs to alert users about upcoming warranty expirations and scheduled maintenance inside backend/contrib/.
Location
All work must be inside backend/contrib/src/scheduler/.
Acceptance Criteria
Overview
Implement a Scheduler module that runs background jobs to alert users about upcoming warranty expirations and scheduled maintenance inside
backend/contrib/.Location
All work must be inside
backend/contrib/src/scheduler/.Acceptance Criteria
SchedulerModuleandSchedulerServicecreated using@nestjs/schedule@Cronjob runs daily at 8am: finds assets withwarrantyExpirationwithin the next 30 days, logs a warning to console (or emits a notification event)@Cronjob runs daily at 9am: findsMaintenancerecords withscheduledDatewithin the next 7 days and statusSCHEDULED, logs warningsScheduleModule.forRoot()imported inAppModule