diff --git a/server.js b/server.js index 9a63db2..d5fb07d 100644 --- a/server.js +++ b/server.js @@ -134,7 +134,7 @@ async function findVisitor() { // today = yyyy + '-' + mm + '-' + dd; // console.log(today); -cron.schedule('0 45 12 * * *', () => { +cron.schedule('0 0 0 * * *', () => { updateStatus(); async function updateStatus() { await User.find({