mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
upload-backup: pass origin to $SendNotification2
This commit is contained in:
@ -80,7 +80,8 @@ $WaitFullyConnected;
|
||||
}
|
||||
}
|
||||
|
||||
$SendNotification2 ({ subject=[ $IfThenElse ($Failed > 0) \
|
||||
$SendNotification2 ({ origin=$0; \
|
||||
subject=[ $IfThenElse ($Failed > 0) \
|
||||
([ $SymbolForNotification "warning-sign" ] . "Backup & Config upload with failure") \
|
||||
([ $SymbolForNotification "floppy-disk" ] . "Backup & Config upload") ]; \
|
||||
message=("Backup and config export upload for " . $Identity . ".\n\n" . \
|
||||
|
Reference in New Issue
Block a user