Changed to send email only to some users.
This commit is contained in:
5
index.js
5
index.js
@@ -8,8 +8,7 @@ const forceSSL = require("./app/helpers/forceSSL");
|
||||
const {
|
||||
APP_PORT,
|
||||
CRAWLER_INTERVAL,
|
||||
STOP_CRAWLER,
|
||||
CHECK_UP_DAYS
|
||||
STOP_CRAWLER
|
||||
} = require("./app/config/appConfig");
|
||||
const routes = require("./app/routes");
|
||||
const { crawlAll } = require("./app/crawler/crawl");
|
||||
@@ -50,4 +49,4 @@ const crawl = () => {
|
||||
|
||||
setInterval(crawl, CRAWLER_INTERVAL * 1000);
|
||||
|
||||
setInterval(checkUpNotify, CHECK_UP_DAYS * 24 * 60 * 60 * 1000);
|
||||
setInterval(checkUpNotify, 1000 * 60 * 60 * 24);
|
||||
|
||||
Reference in New Issue
Block a user