Skip to content

Commit

Permalink
fix(scraper): schedule default job
Browse files Browse the repository at this point in the history
  • Loading branch information
mytlogos committed Sep 5, 2022
1 parent abf42a3 commit f56e1c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/scraper/src/scheduler/jobScheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f56e1c1

Please sign in to comment.