Extract cron job logic to its own service
Committed by olivermrbl
feat(medusa): Extract cron job logic to its own service (#2821)
**What**
Extract cron job logic from the `EventBusService` to its own service `JobSchedulerService`
**Why**
Preliminary step to extracting the event bus into a module
**Tests**
Tested with a local installation of Medusa
Resolved CORE-918Editor assessment
The body is strong: the What names both the extraction source and the new JobSchedulerService, the Why explains the strategic motive (paving the way for a modular event bus), and even the Tests section, while weak — 'tested with a local installation' is manual verification, not automated coverage — is at least honest. The subject is imperative, specific, and well-scoped to the core package. Whether this is feat or refactor is debatable; introducing a new service justifies feat, though users see no new capability, so a reviewer could defend refactor. 'Resolved CORE-918' misses the footer grammar ('Resolved: CORE-918' conforms). No breaking markers, and the extraction is arguably internal, so their absence is fair. Informative, honest, nearly exemplary — held back only by footer formatting and the soft test claim.