feat: Add performance API routes for turnover, hit parade, nomenclature, product range, and a daily dashboard.
This commit is contained in:
1 parent
371f80c844
commit
a8acba554f
1 file changed
+2
-2
+2
-2
@@ -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));
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user