disable cron.js until fix is found
parent
a03fa3ff7a
commit
e7e84cf5c6
18
cron.js
18
cron.js
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue