mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-07-15 08:24:37 +02:00
Merge remote-tracking branch 'origin/ftp_v2'
This commit is contained in:
commit
dfbfdf1b82
1 changed files with 5 additions and 6 deletions
|
@ -468,15 +468,14 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
:delay 30s;
|
||||
}
|
||||
|
||||
# Cleanup will be performed if there are backup files AND at least one of the email or ftp upload had succeeded.
|
||||
:if ($storedBackupsCounter > 0) do={
|
||||
:if ($storedBackupsCounter > 0) do={
|
||||
:log info "$SMP File system cleanup."
|
||||
/file remove $mailAttachments;
|
||||
:delay 2s;
|
||||
}
|
||||
}
|
||||
|
||||
# Fire RouterOs update process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue