diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-14 22:27:15 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-11-14 22:27:15 +0100 |
commit | f7c72b6ed96e45bf1fbb54c46ce09e1fccc791be (patch) | |
tree | a2fd8ce23a0c0d00c29413151fa629dc5741732c /packages-update.rsc | |
parent | 4f04fa73fceb8841b61e4adedaab3cd4925dad00 (diff) |
packages-update: rename scheduler
Diffstat (limited to 'packages-update.rsc')
-rw-r--r-- | packages-update.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages-update.rsc b/packages-update.rsc index caaac6a..85a241a 100644 --- a/packages-update.rsc +++ b/packages-update.rsc @@ -95,8 +95,8 @@ $ScriptLock $0; $RandomDelay 3600; /system/reboot; } - /system/scheduler/add name="\$RebootForUpdate" start-time=03:00:00 interval=1d \ - on-event=("/system/scheduler/remove \"\\\$RebootForUpdate\"; " . \ + /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; } |