diff --git a/app.js b/app.js index eac292f..e7881b0 100644 --- a/app.js +++ b/app.js @@ -68,14 +68,14 @@ app.get('/twitter-card.svg', (req, res) => { }); // Schedule cleanup job -cron.schedule('*/10 * * * *', async () => { - try { - await MessageService.cleanup(); - console.log('Daily cleanup completed'); - } catch (error) { - console.error('Cleanup failed:', error); - } -}); +// cron.schedule('*/10 * * * *', async () => { +// try { +// await MessageService.cleanup(); +// console.log('Daily cleanup completed'); +// } catch (error) { +// console.error('Cleanup failed:', error); +// } +// }); app.get('/api/stats/total', (req, res) => {