Update BackupAndUpdate.rsc

This commit is contained in:
deniska-666 2024-03-22 22:29:01 +01:00 committed by GitHub
parent 05dd597d97
commit 4f8bdc4d86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -450,7 +450,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
# Trying to send email with backups as attachments.
:if ($isSendEmailRequired = true) do={
:log info "$SMP Sending email message, it will take around half a minute...";
:log info "$SMP Dispatching email message; estimated completion within 30 seconds.";
:do {/tool e-mail send to=$emailAddress subject=$mailSubject body=$mailBody file=$mailAttachments;} on-error={
:delay 5s;
:log error "$SMP could not send email message ($[/tool e-mail get last-status]). Will attempt redelivery shortly."
@ -459,7 +459,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
:do {/tool e-mail send to=$emailAddress subject=$mailSubject body=$mailBody file=$mailAttachments;} on-error={
:delay 5s;
:log error "$SMP could not send email message ($[/tool e-mail get last-status]) for the second time."
:log error "$SMP failed to send email message ($[/tool e-mail get last-status]) for the second time."
if ($isOsNeedsToBeUpdated = true) do={
:set isOsNeedsToBeUpdated false;