global-functions: introduce and use $SymbolForNotification

This commit is contained in:
Christian Hesse 2020-07-17 08:07:12 +02:00
parent 0e7b2d3ac7
commit 075859c898
9 changed files with 35 additions and 18 deletions

View file

@ -13,7 +13,7 @@
:global LogPrintExit;
:global MailServerIsUp;
:global SendNotification;
:global SymbolByUnicodeName;
:global SymbolForNotification;
:global WaitFullyConnected;
$WaitFullyConnected;
@ -40,7 +40,7 @@ $WaitFullyConnected;
}
:if ($Count > 0) do={
$SendNotification ([ $SymbolByUnicodeName "warning-sign" ] . " Log Forwarding") \
$SendNotification ([ $SymbolForNotification "warning-sign" ] . "Log Forwarding") \
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
[ / system resource get uptime ] . " uptime.\n" . $Messages);