Remove old commented code

This commit is contained in:
Douglas Barone 2020-12-23 11:12:30 -04:00
parent ccaeb50d3e
commit c138047be5

View File

@ -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 () => {