From ad63222730fbbff2cda6e43ac3d68efbe6991c3b Mon Sep 17 00:00:00 2001 From: Moe Alam Date: Tue, 9 Feb 2021 10:11:03 -0800 Subject: [PATCH] cron.js : reset interval to 1 day --- cron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron.js b/cron.js index a73d4c26..be150382 100644 --- a/cron.js +++ b/cron.js @@ -486,8 +486,8 @@ const processUser = async (v) => { //recursive function const setIntervalForCron = function(){ clearCronInterval() - theCronInterval = setInterval(doCronJobs,1000 * 10) - // theCronInterval = setInterval(doCronJobs,parseFloat(config.cron.interval)*60000*60) + // theCronInterval = setInterval(doCronJobs,1000 * 10) + theCronInterval = setInterval(doCronJobs,parseFloat(config.cron.interval)*60000*60) } const clearCronInterval = function(){ clearInterval(theCronInterval)