Toggle the script in the orchestrator you clicked, not the first one that lists it
docker_update.sh runs bare in daily, --weekly in weekly and --remainder in monthly, so switching it off in monthly disabled the daily run and reported success.
This commit is contained in:
@@ -1782,7 +1782,11 @@ function vvSaveChild(el) {
|
||||
}
|
||||
|
||||
if (orchOn) {
|
||||
vvPost('/plugins/varaverk/api/conf_toggle.php', {id, enabled: enabled ? '1' : '0'})
|
||||
// The array this row was rendered from, so the write lands in the list that was clicked. A
|
||||
// script may sit in several with different arguments, and without this the endpoint acts on
|
||||
// whichever one master.conf declares first.
|
||||
vvPost('/plugins/varaverk/api/conf_toggle.php',
|
||||
{id, enabled: enabled ? '1' : '0', array: child.dataset.confArray || ''})
|
||||
.then(d => { if (d.ok) vvFlashSaved(child); });
|
||||
} else {
|
||||
const cron = child.querySelector('input.vv-cron')?.value.trim() ?? '';
|
||||
|
||||
Reference in New Issue
Block a user