Skip to content

Commit 4e0c829

Browse files
committed
fix(scraper): Fixed cron not starting
1 parent 5962610 commit 4e0c829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/scraper/src/scraper.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ScraperModule implements OnApplicationBootstrap {
5252

5353
public onApplicationBootstrap(): void {
5454
const job = new CronJob(this.configService.get('CRON_TIME'), () => {
55-
this.scrapeConfigs
55+
this.scrapeConfigs()
5656
})
5757

5858
this.schedulerRegistry.addCronJob(ScraperModule.JOB_NAME, job)

0 commit comments

Comments
 (0)