From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:00:03 +0000 (+0300) Subject: Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:00:02 30.04.2026. X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=38086133f4aee995cea0ec22618314577abcb0e5;p=Mikrotiks%2Fros.vados.ru.git Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:00:02 30.04.2026. --- diff --git a/html/AM-Backup-UpdateEmail.rsc b/html/AM-Backup-UpdateEmail.rsc index 1665814b3..0db45aba5 100644 --- a/html/AM-Backup-UpdateEmail.rsc +++ b/html/AM-Backup-UpdateEmail.rsc @@ -25,24 +25,22 @@ # :local StartTime "03:41:27"; # :local StartDate "jan/01/1970"; # :local Policy "ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon"; -# :set ExitOK true; -# :error false; :set EditSchedulers do={ on-error Err { :global LogPrint; :local SchedName [ :tostr $1 ]; - :local OnEvent [ :tostr $2 ]; - :if ([ :len $OnEvent ] > 0) do={:set OnEvent "/system/script { run $SchedName; }"}; - :local Comment [ :tostr $3 ]; + :local Comment [ :tostr $2 ]; :if ([ :len $Comment ] = 0) do={:set Comment "Scheduler for script: $SchedName"}; - :local Interval [ :tostr $4 ]; + :local Interval [ :tostr $3 ]; :if ([ :len $Interval ] = 0) do={:set Interval "1d"}; - :local StartTime [ :tostr $5 ]; - :if ([ :len $StartTime ] = 0) do={:set StartTime [get time]}; + :local OnEvent [ :tostr $4 ]; + :if ([ :len $OnEvent ] > 0) do={:set OnEvent "/system/script { run $SchedName; }"}; + :local Policy [ :tostr $5 ]; + :if ([ :len $Policy ] = 0) do={:set Policy "ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon"}; :local StartDate [ :tostr $6 ]; :if ([ :len $StartDate ] = 0) do={:set StartDate [get date]}; - :local Policy [ :tostr $7 ]; - :if ([ :len $Policy ] = 0) do={:set Policy "ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon"}; + :local StartTime [ :tostr $7 ]; + :if ([ :len $StartTime ] = 0) do={:set StartTime [get time]}; } do={ # Check if scheduler exists, if not - create it diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index d9380077b..8d6f1fbd3 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -17,9 +17,9 @@ :global GlobalFuncReady false; # Git commit id & info, expected configuration version -:global CommitId "main/271/037211f1"; +:global CommitId "main/272/ec61099b"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:50:02 30.04.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:00:02 30.04.2026."; # The variables are received right here. :global GlobalConfVersion 138;