diff --git a/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php b/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php
index 5c29e49..4d79c81 100644
--- a/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php
+++ b/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php
@@ -4,9 +4,9 @@ $tree = vv_job_tree();
?>
-
Toggle saves immediately. Edit cron then Save.
- Run fires now; Dry Run sets DRY_RUN=1.
- Log opens on the right.
+
Toggle saves immediately. Fill in cron expressions and hit
+ Save Schedule at the bottom. Run fires now;
+ Dry Run sets DRY_RUN=1. Log opens on the right.
@@ -61,14 +61,15 @@ $tree = vv_job_tree();
-
-
+
+
+
@@ -214,11 +215,11 @@ function vvSaveJob(el) {
.then(d => { if (status) vvFlashStatus(status, d.ok ? '✓' : '✗ ' + (d.error ?? ''), d.ok); });
}
-function vvSaveCard(btn) {
- const card = btn.closest('.vv-sched-card');
- const status = card.querySelector('.vv-save-status');
- const jobs = card.querySelectorAll('[data-id]');
+function vvSaveAll() {
+ const status = document.getElementById('vv-save-all-status');
+ const jobs = document.querySelectorAll('#vv-sched-left [data-id]');
let pending = jobs.length, allOk = true;
+ if (!pending) { vvFlashStatus(status, '✗ No jobs found', false); return; }
status.textContent = 'Saving…';
jobs.forEach(job => {
const id = job.dataset.id;