diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-14 22:36:58 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-11-14 22:36:58 +0100 |
commit | 3aec5d70c628003634fc413cdb00b2e1e0c9fca5 (patch) | |
tree | 1f00be1798a0a39e578f6f0af1d68bc68cd16d9d /packages-update.rsc | |
parent | 0d530294f5f0608114c8f0cd409f0041bb2c1b74 (diff) | |
parent | 8c8f834179f0ab618f031ec50739bbafd4c4261e (diff) |
Merge branch 'scheduler' into nextrouteros-7.13beta1-1
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; } |