Scheduler (startup script) RB-2011

Hello.
I have a script running on startup.
Sometimes it runs spontaneously and logs “start system”. Router doesn’t reboot.
Run count is always 1.

# schedule onStart 10.02.20
# check running sheduler
:if ([:typeof $connect80fromCP]="array") do={:log info "restart sheduler"}
:if ([:typeof $connect80fromCP]="nothing") do={:log info "start system"}
# define global variables
:global con7021fromSPD {""}
:global con7022fromSPD {""}
:global connect80fromCP {""}
:global lostping7025CC921osn 0
:global lostping7025CC921rez 0
:global lostping7025CC922osn 0
:global lostping7025CC922rez 0
# IP CP for ping and check TCP port 80
:global ipCP921osnNETosn "192.168.1.11"
:global ipCP921osnNETrez "192.168.2.11"
:global ipCP921rezNETosn "192.168.1.12"
:global ipCP921rezNETrez "192.168.2.12"
:global ipCP922osnNETosn "192.168.1.21"
:global ipCP922osnNETrez "192.168.2.21"
:global ipCP922rezNETosn "192.168.1.22"
:global ipCP922rezNETrez "192.168.2.22"
:global open80CC921osnNETosn 0
:global open80CC921rezNETosn 0
:global open80CC921osnNETrez 0
:global open80CC921rezNETrez 0
:global open80CC922osnNETosn 0
:global open80CC922rezNETosn 0
:global open80CC922osnNETrez 0
:global open80CC922rezNETrez 0
:global pingCC921osnNETosn 0
:global pingCC921osnNETrez 0
:global pingCC921rezNETosn 0
:global pingCC921rezNETrez 0
:global pingCC922osnNETosn 0
:global pingCC922osnNETrez 0
:global pingCC922rezNETosn 0
:global pingCC922rezNETrez 0
:global checkNAT7025CC921 0
:global checkNAT7025CC922 0
:global checkSwitch7025 0
:global interval 1
:global count 2
:global duration 3
:delay 5s
:if ([/interface vrrp get [/interface vrrp find name="vrrp_CC921"] priority]!=100) do={/interface vrrp set [/interface vrrp find name="vrrp_CC921"] priority=100;log info "start VRRP CC921 priority set 100"} else={log info "start VRRP CC921 priority not changed"}
:if ([/interface vrrp get [/interface vrrp find name="vrrp_CC922"] priority]!=100) do={/interface vrrp set [/interface vrrp find name="vrrp_CC922"] priority=100;log info "start VRRP CC922 priority set 100"} else={log info "start VRRP CC922 priority not changed"}