Reminder Scheduler
Component Detail
Infrastructure
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Time-based trigger that wakes the Renewal Reminder Service on a recurring cadence. Provides the cron-like scheduling and retry semantics that turn certificate expiry dates into actionable reminder runs.
reminder-scheduler
Sources & reasoning
Defined in the canonical area taxonomy (line 363). HLF explicitly requires automatic reminders on certificate expiry (line 72) and ties expiry to mentor visibility (line 49), motivating a scheduled-reminder feature. Phase 3 placement follows from the source roadmap listing course/certification work under Growth & Engagement.
-
docs/source/likeperson.md · line 363certification-training | Certification & Training | Course Registration, Digital Peer Mentor Certificate, Certificate Renewal Reminder
-
docs/source/likeperson.md · line 72automatisk påminnelse ved utløp
-
docs/source/likeperson.md · line 49HLF kobler dette til sertifisering: ved utgått sertifikat forsvinner likepersonen fra lokallagets nettsider automatisk.
Responsibilities
- Run the renewal reminder evaluation job on a recurring schedule
- Retry failed reminder runs with backoff so transient errors do not skip a day
- Record run history and outcome for operational visibility
- Allow manual trigger of a reminder run for testing and recovery
Interfaces
scheduleJob(name, cronExpr, handler): JobHandle
triggerRun(jobName): RunResult
getLastRun(jobName): RunRecord