mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-29 20:54:28 +02:00
packages-update: rename scheduler
This commit is contained in:
parent
4f04fa73fc
commit
f7c72b6ed9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue