From 86766cc0046914f50314b7485746b2228e4e0493 Mon Sep 17 00:00:00 2001 From: grabbit Date: Fri, 20 Feb 2026 01:39:21 +0800 Subject: [PATCH] feat: add warmup schedule (cron) field to config UI The backend already supports warmup_schedule for periodic cache warmup, but the field was missing from the web config editor. Co-Authored-By: Claude Opus 4.6 --- templates/web/tabs/config.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/web/tabs/config.html b/templates/web/tabs/config.html index a371468..4197bed 100644 --- a/templates/web/tabs/config.html +++ b/templates/web/tabs/config.html @@ -21,6 +21,7 @@ function configEditorFn() { } if (config.smb_auth.username == null) config.smb_auth.username = ''; if (config.smb_auth.smb_pass == null) config.smb_auth.smb_pass = ''; + if (config.warmup.warmup_schedule == null) config.warmup.warmup_schedule = ''; for (const rule of config.warmup.rules) { if (rule.newer_than == null) rule.newer_than = ''; } @@ -693,6 +694,13 @@ if (window.Alpine) { Auto-warmup on Startup +
+ + +
+

+ Standard 5-field cron expression. When set, warmup rules run periodically in addition to startup. +