diff --git a/apps/meteor/app/apps/server/bridges/scheduler.ts b/apps/meteor/app/apps/server/bridges/scheduler.ts index dfc3ddcdbc68..9be1a255c9fe 100644 --- a/apps/meteor/app/apps/server/bridges/scheduler.ts +++ b/apps/meteor/app/apps/server/bridges/scheduler.ts @@ -107,7 +107,7 @@ export class AppSchedulerBridge extends SchedulerBridge { } private async scheduleOnceAfterRegister(job: IOnetimeSchedule, appId: string): Promise { - const scheduledJobs = await this.scheduler.jobs({ name: job.id, type: 'normal' }); + const scheduledJobs = await this.scheduler.jobs({ name: job.id, type: 'normal' }, {}, 1); if (!scheduledJobs.length) { return this.scheduleOnce(job, appId); }