From 69e54212f3f181f5edd0aa4229f5a75fa2879c85 Mon Sep 17 00:00:00 2001 From: Ryahn Date: Fri, 31 Jan 2025 08:48:15 -0500 Subject: [PATCH] Update clean up cron --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index cdc0b29..ebd7668 100644 --- a/app.js +++ b/app.js @@ -68,7 +68,7 @@ app.get('/twitter-card.svg', (req, res) => { }); // Schedule cleanup job -cron.schedule('0 0 * * *', async () => { +cron.schedule('0 * * * *', async () => { try { await MessageService.cleanup(); console.log('Daily cleanup completed');