From f56e1c1b03c5d9305febfb4169c53d220cc2c954 Mon Sep 17 00:00:00 2001 From: mytlogos Date: Mon, 5 Sep 2022 16:11:30 +0200 Subject: [PATCH] fix(scraper): schedule default job --- packages/scraper/src/scheduler/jobScheduler.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/scraper/src/scheduler/jobScheduler.ts b/packages/scraper/src/scheduler/jobScheduler.ts index 1661485f..221cf687 100644 --- a/packages/scraper/src/scheduler/jobScheduler.ts +++ b/packages/scraper/src/scheduler/jobScheduler.ts @@ -126,6 +126,13 @@ export class JobScheduler { deleteAfterRun: false, runImmediately: true, }, + { + type: ScrapeName.removeUsedMediaInWaits, + interval: MilliTime.DAY, + name: ScrapeName.removeUsedMediaInWaits, + deleteAfterRun: false, + runImmediately: true, + }, ); await this.addJobs(...jobs); }