packages-update: rename scheduler to match function name

This commit is contained in:
Christian Hesse 2023-06-22 14:28:17 +02:00
parent 6469825398
commit 4a67155d05
2 changed files with 3 additions and 3 deletions

View file

@ -86,8 +86,8 @@ $ScriptLock $0;
$RandomDelay 3600;
/system/reboot;
}
/system/scheduler/add name="reboot-for-update" start-time=03:00:00 interval=1d \
on-event=("/system/scheduler/remove reboot-for-update; " . \
/system/scheduler/add name="\$RebootForUpdate" start-time=03:00:00 interval=1d \
on-event=("/system/scheduler/remove \"\\\$RebootForUpdate\"; " . \
":global RebootForUpdate; \$RebootForUpdate;");
$LogPrintExit2 info $0 ("Scheduled reboot for update between 03:00 and 04:00.") true;
}