diff --git a/server/cronMigrationManager.js b/server/cronMigrationManager.js index a1e9fb2c4..ec473d0b3 100644 --- a/server/cronMigrationManager.js +++ b/server/cronMigrationManager.js @@ -1646,8 +1646,8 @@ class CronMigrationManager { SyncedCron.add({ name: step.cronName, schedule: (parser) => parser.text(step.schedule), - job: () => { - this.runMigrationStep(step); + job: async () => { + await this.runMigrationStep(step); }, }); }