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)
}
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()