1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

backup-cloud: lock the script

This commit is contained in:
Christian Hesse
2023-06-12 07:59:34 +02:00
parent 2f399f2a48
commit 4aaa144472

View File

@@ -21,10 +21,12 @@
:global LogPrintExit2;
:global RandomDelay;
:global ScriptFromTerminal;
:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
:global WaitFullyConnected;
$ScriptLock $0;
$WaitFullyConnected;
:if ([ $ScriptFromTerminal $0 ] = false && $BackupRandomDelay > 0) do={