diff --git a/sync/index.js b/sync/index.js index 116dbd6..b986bf8 100644 --- a/sync/index.js +++ b/sync/index.js @@ -72,8 +72,8 @@ if (forceMode) { }); } else { startDashboard(); - console.log('Service sync démarré — cron: 0 3 * * * (3h00 chaque nuit)'); - cron.schedule('0 3 * * *', () => { + console.log('Service sync démarré — cron: 0 6 * * * (6h00 chaque nuit)'); + cron.schedule('0 6 * * *', () => { syncAll(false).catch(err => console.error('Erreur cron sync:', err.message)); }); }