Remove old commented code
This commit is contained in:
parent
ccaeb50d3e
commit
c138047be5
|
@ -13,36 +13,6 @@ logInfo({
|
|||
message: 'Scheduling tasks...'
|
||||
})
|
||||
|
||||
// cron.schedule('*/1 * * * *', async () => {
|
||||
// logInfo({
|
||||
// tags: ['cron', 'wifiDevices'],
|
||||
// message: 'updateDevicesInfo started'
|
||||
// })
|
||||
|
||||
// const devices = await updateDevicesInfo()
|
||||
|
||||
// logInfo({
|
||||
// tags: ['cron', 'wifiDevices'],
|
||||
// message: `updateDevicesInfo updated ${devices} devices`
|
||||
// })
|
||||
|
||||
// let mappings = 0
|
||||
|
||||
// if (devices > 0) {
|
||||
// logInfo({
|
||||
// tags: ['cron', 'user-id'],
|
||||
// message: `updateUserIdMappings started`
|
||||
// })
|
||||
|
||||
// mappings = await updateUserIdMappings()
|
||||
|
||||
// logInfo({
|
||||
// tags: ['cron', 'user-id'],
|
||||
// message: `updateUserIdMappings updated ${mappings} user-id mappings`
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
|
||||
cron.schedule(
|
||||
'0 0 0 * * *',
|
||||
async () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user