mirror of
https://github.com/laspavel/mikrotik-scripts.git
synced 2025-06-20 21:35:45 +02:00
9 lines
No EOL
376 B
Text
9 lines
No EOL
376 B
Text
# https://www.urlencoder.org/
|
|
:global ReBootStatus;
|
|
:if ($ReBootStatus != true) do={
|
|
:local DeviceName [/system identity get name];
|
|
:local MessageText ("<b>RebootStatus $DeviceName:</b> I reboot now!");
|
|
:local SendTelegramMessage [:parse [/system script get SendTelegram source]];
|
|
$SendTelegramMessage MessageText=$MessageText;
|
|
:set ReBootStatus true;
|
|
} |