feat: implement automated sync service with cron scheduling and web dashboard

This commit is contained in:
Michael committed 2026-04-01 09:18:36 +02:00
1 parent e20c253df8
commit 2839a615fd
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ app.get('/api/logs', (req, res) => {
app.get('/api/next', (req, res) => {
const now = new Date();
const next = new Date(now);
next.setHours(3, 0, 0, 0);
next.setHours(6, 45, 0, 0);
if (next <= now) next.setDate(next.getDate() + 1);
res.json({ next: next.toISOString() });
});