Changed to send email only to some users.

This commit is contained in:
Naida Vatric
2020-01-24 16:04:28 +01:00
parent 40509d2836
commit 470f53d29b
3 changed files with 13 additions and 10 deletions

View File

@@ -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);