This commit is contained in:
Douglas Barone 2020-11-10 15:15:34 -04:00
parent 4f5c9d8011
commit 5d86d2785d

View File

@ -10,12 +10,12 @@ cron.schedule(
async () => { async () => {
console.log( console.log(
'[cron exec] updateDBWithOnlineDevices started at ' + '[cron exec] updateDBWithOnlineDevices started at ' +
format(new Date(), "d 'de' MMMM 'de' yyyy 'às' HH:MM") format(new Date(), "d 'de' MMMM 'de' yyyy HH:MM")
) )
await updateDBWithOnlineDevices() await updateDBWithOnlineDevices()
console.log( console.log(
'[cron exec] updateDBWithOnlineDevices finished at ' + '[cron exec] updateDBWithOnlineDevices finished at ' +
format(new Date(), "d 'de' MMMM 'de' yyyy 'às' HH:MM") format(new Date(), "d 'de' MMMM 'de' yyyy HH:MM")
) )
}, },
{} {}