Compare commits

..

2 commits

Author SHA1 Message Date
Christian Hesse
f9edda6a2e check-routeros-update: split off check-perpetual-license...
... and also add documentations, screenshot, etc.
2025-03-27 22:26:39 +01:00
Christian Hesse
16c9ce437e check-routeros-update: send notification on renewed license...
... when a warning has been sent before.
2025-03-27 22:26:39 +01:00

View file

@ -65,7 +65,7 @@
}
:if ([ :typeof $SentCertificateNotification ] = "str" && \
[ :totime ($License->"deadline-at") ] - 3w > [ :timestamp ]) do={
[ :totime ($License->"deadline-at") ] - 4w > [ :timestamp ]) do={
$LogPrint info $ScriptName ("Your license was successfully renewed.");
$SendNotification2 ({ origin=$ScriptName; \
subject=([ $SymbolForNotification "white-heavy-check-mark" ] . "License renewed"); \