feat: Add performance API routes for turnover, hit parade, nomenclature, product range, and a daily dashboard.

This commit is contained in:
Michael committed 2026-03-22 10:55:05 +01:00
1 parent 371f80c844
commit a8acba554f
1 file changed
+2 -2
+2 -2
View File
@@ -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));
});
}