mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 09:15:03 +02:00
log-forward: lock script to run just once
This commit is contained in:
parent
00e99a13fb
commit
b27d875111
1 changed files with 3 additions and 0 deletions
|
@ -12,10 +12,13 @@
|
|||
|
||||
:global LogPrintExit;
|
||||
:global MailServerIsUp;
|
||||
:global ScriptLock;
|
||||
:global SendNotification;
|
||||
:global SymbolForNotification;
|
||||
:global WaitFullyConnected;
|
||||
|
||||
$ScriptLock "log-forward";
|
||||
|
||||
$WaitFullyConnected;
|
||||
|
||||
:if ($MailServerIsUp = false) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue