feat: in-process nightly scheduler + pause at window end

Hook registers a 15-minute schedule that starts/resumes the backfill only
inside the maintenance window (no external cron or token). The backfill
pauses when the window closes and resumes next night. UI shows paused
state and last-run errors.
This commit is contained in:
Rawman Grey 2026-10-25 14:26:49 +03:00
parent 18db52a47c
commit ee39633ad7
6 changed files with 60 additions and 8 deletions

View file

@ -47,5 +47,6 @@ export interface RunState {
rate: number;
eta: number | null;
cancelled: boolean;
paused?: boolean;
error?: string;
}