mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 18:24:35 +02:00
cloud-backup: add symbol in notification
This commit is contained in:
parent
075859c898
commit
e0fe98a274
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
:global DeviceInfo;
|
||||
:global LogPrintExit;
|
||||
:global SendNotification;
|
||||
:global SymbolForNotification;
|
||||
|
||||
:do {
|
||||
# we are not interested in output, but print without count-only is
|
||||
|
@ -26,7 +27,7 @@
|
|||
}
|
||||
:local Cloud [ / system backup cloud get ([ find ]->0) ];
|
||||
|
||||
$SendNotification "Cloud backup" \
|
||||
$SendNotification ([ $SymbolForNotification "floppy-disk" ] . "Cloud backup") \
|
||||
("Uploaded backup for " . $Identity . " to cloud.\n\n" . \
|
||||
[ $DeviceInfo ] . "\n\n" . \
|
||||
"Name: " . $Cloud->"name" . "\n" . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue