diff --git a/index.js b/index.js index f46f55e..6718d83 100644 --- a/index.js +++ b/index.js @@ -162,8 +162,8 @@ var rule = new schedule.RecurrenceRule(); rule.seccond = 1; schedule.scheduleJob(rule, async function () { console.log(new Date(), 'Crawler service started'); - // await crawlAll(); + await crawlAll(); console.log(new Date(), 'Crawler service finished, starting Notification service'); - // await processNotifications(); + await processNotifications(); console.log(new Date(), 'Notification service finished'); });