I have problem with script scheduler, when I run script manualy it run correctly but when I run it via scheduler script place this error to log :
script error: input does not match any value of item name …
Can anyone help me with this ?
Script is :
:if ([/system scheduler get changeipJob2 run-count]<=1) do={ /system script run changeipInit2 }
:global temp2
:global c
:set temp2 $d
:set c [:resolve xxxx.dyndns.org ]
I have two scripts with similar name :
changeipInit and changeipInit2 and the same checkip and checkip2, one script send email when public IP is changed and second script change IP addres of L2TP client, when runs both scripts, error in log is present. I merge both scripts to one and work correctly ?@?@?!!!?!