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-918
This commit is contained in:
Oliver Windall Juhl
2022-12-19 19:04:46 +00:00
committed by GitHub
parent c8724da503
commit ba6bb3e54b
9 changed files with 385 additions and 205 deletions
+2 -2
View File
@@ -335,8 +335,8 @@ module.exports = {
},
{
type: "doc",
id: "advanced/backend/cron-jobs/create",
label: "Create a Cron Job"
id: "advanced/backend/scheduled-jobs/create",
label: "Create a Scheduled Job"
},
{
type: "doc",