mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-21 01:15:42 +02:00
backup-cloud: log note on previous connection errors
This commit is contained in:
parent
e35ba4b06c
commit
cd4ac2c088
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@
|
|||
} while=([ $WaitForFile "tmpfs/backup-cloud/done" 200ms ] = false && $I > 0);
|
||||
|
||||
:if ([ $WaitForFile "tmpfs/backup-cloud/done" ] = true) do={
|
||||
:if ($I < 4) do={
|
||||
:log warning ($ScriptName . ": Retry successful, please discard previous connection errors.");
|
||||
}
|
||||
|
||||
:local Cloud [ /system/backup/cloud/get ([ find ]->0) ];
|
||||
|
||||
$SendNotification2 ({ origin=$ScriptName; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue