From a8acba554fe53527e351a364a188aeec8d06e523 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Sun, 22 Mar 2026 10:55:05 +0100 Subject: [PATCH] feat: Add performance API routes for turnover, hit parade, nomenclature, product range, and a daily dashboard. --- sync/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }); }