+++ /dev/null
-root@amster.4184617
\ No newline at end of file
:global UrlEncode;
# :global WaitFullyConnected;
-/system/scheduler/add interval=1d name=check-certificates on-event="/system/script/run check-certificates;" start-time=startup;
+# Add this Script scheduler
+:if ([ :len [ /system/scheduler/find where name=$ScriptName ] ] = 0) do={
+:log warning ("System Scheduler for script: " . $ScriptName . " is NOT SET! Fix It Now!");
+:local OnEvent "/system/script/run $ScriptName;";
+:local Comment "Every Day Check For Renew Certificates";
+/system/scheduler/add name=$ScriptName comment=$Comment start-time=startup interval=1d on-event=$OnEvent;
+}
+
:local CheckCertificatesDownloadImport do={
:local ScriptName [ :tostr $1 ];
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/208/bdb7d2e7";
+:global CommitId "main/209/fc63b2d6";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 05:55:03 01.04.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 06:00:03 01.04.2026.";
# The variables are received right here.
:global GlobalConfVersion 138;
# Add this Script scheduler
:if ([ :len [ /system/scheduler/find where name=$ScriptName ] ] = 0) do={
:log warning ("SystemScheduler for script: " . $ScriptName . " is NOT SET! Fix It Now!");
-:put "Add or/and fix $ScriptName Script scheduler";
:local OnEvent "/system/script/run $ScriptName;";
:local Comment "Every Day Check For Fake Bridges";
/system/scheduler/add name=$ScriptName comment=$Comment start-time=startup interval=1d on-event=$OnEvent;