Update clean up cron

This commit is contained in:
Ryahn 2025-01-31 08:48:15 -05:00
parent e7532e5e67
commit 69e54212f3

2
app.js
View File

@ -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');