disable cron.js until fix is found

fix-non-showing-inputs
Moe Alam 2020-11-16 08:38:39 -08:00
parent a03fa3ff7a
commit e7e84cf5c6
1 changed files with 9 additions and 9 deletions

18
cron.js
View File

@ -503,15 +503,15 @@ const clearCronInterval = function(){
clearInterval(theCronInterval) clearInterval(theCronInterval)
} }
const doCronJobs = function(){ const doCronJobs = function(){
s.cx({f:'start',time:moment()}) // s.cx({f:'start',time:moment()})
s.sqlQuery('SELECT ke,uid,details,mail FROM Users WHERE details NOT LIKE \'%"sub"%\'', function(err,rows) { // s.sqlQuery('SELECT ke,uid,details,mail FROM Users WHERE details NOT LIKE \'%"sub"%\'', function(err,rows) {
if(err){ // if(err){
console.error(err) // console.error(err)
} // }
if(rows&&rows[0]){ // if(rows&&rows[0]){
processUser(0,rows) // processUser(0,rows)
} // }
}) // })
} }
setIntervalForCron() setIntervalForCron()
doCronJobs() doCronJobs()