mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
packages-update: rename scheduler
This commit is contained in:
parent
4f04fa73fc
commit
f7c72b6ed9
|
@ -95,8 +95,8 @@ $ScriptLock $0;
|
||||||
$RandomDelay 3600;
|
$RandomDelay 3600;
|
||||||
/system/reboot;
|
/system/reboot;
|
||||||
}
|
}
|
||||||
/system/scheduler/add name="\$RebootForUpdate" start-time=03:00:00 interval=1d \
|
/system/scheduler/add name="_RebootForUpdate" start-time=03:00:00 interval=1d \
|
||||||
on-event=("/system/scheduler/remove \"\\\$RebootForUpdate\"; " . \
|
on-event=("/system/scheduler/remove \"_RebootForUpdate\"; " . \
|
||||||
":global RebootForUpdate; \$RebootForUpdate;");
|
":global RebootForUpdate; \$RebootForUpdate;");
|
||||||
$LogPrintExit2 info $0 ("Scheduled reboot for update between 03:00 and 04:00.") true;
|
$LogPrintExit2 info $0 ("Scheduled reboot for update between 03:00 and 04:00.") true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue