From e7e84cf5c6d4999670446d866f35098ed244be1f Mon Sep 17 00:00:00 2001 From: Moe Alam Date: Mon, 16 Nov 2020 08:38:39 -0800 Subject: [PATCH] disable cron.js until fix is found --- cron.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cron.js b/cron.js index 883b457a..31b8de02 100644 --- a/cron.js +++ b/cron.js @@ -503,15 +503,15 @@ const clearCronInterval = function(){ clearInterval(theCronInterval) } const doCronJobs = function(){ - s.cx({f:'start',time:moment()}) - s.sqlQuery('SELECT ke,uid,details,mail FROM Users WHERE details NOT LIKE \'%"sub"%\'', function(err,rows) { - if(err){ - console.error(err) - } - if(rows&&rows[0]){ - processUser(0,rows) - } - }) + // s.cx({f:'start',time:moment()}) + // s.sqlQuery('SELECT ke,uid,details,mail FROM Users WHERE details NOT LIKE \'%"sub"%\'', function(err,rows) { + // if(err){ + // console.error(err) + // } + // if(rows&&rows[0]){ + // processUser(0,rows) + // } + // }) } setIntervalForCron() doCronJobs()