mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 09:59:28 +00:00
check-perpetual-license: cross-mark on already expired license
This commit is contained in:
parent
c0678f0501
commit
240decf419
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
||||||
$LogPrint warning $ScriptName ("Your license expired on " . ($License->"deadline-at") . "!");
|
$LogPrint warning $ScriptName ("Your license expired on " . ($License->"deadline-at") . "!");
|
||||||
:if ($SentCertificateNotification != "expired") do={
|
:if ($SentCertificateNotification != "expired") do={
|
||||||
$SendNotification2 ({ origin=$ScriptName; \
|
$SendNotification2 ({ origin=$ScriptName; \
|
||||||
subject=([ $SymbolForNotification "scroll,warning-sign" ] . "License expired!"); \
|
subject=([ $SymbolForNotification "scroll,cross-mark" ] . "License expired!"); \
|
||||||
message=("Your license expired on " . ($License->"deadline-at") . \
|
message=("Your license expired on " . ($License->"deadline-at") . \
|
||||||
", can no longer update RouterOS on " . $Identity . "...") });
|
", can no longer update RouterOS on " . $Identity . "...") });
|
||||||
:set SentCertificateNotification "expired";
|
:set SentCertificateNotification "expired";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue