#test1
:global iface
:foreach n in=[/interface find type=ovpn-in] do={
:set iface [/interface get $n name]
:log info $iface
/system script run test2
}
#test2
:global iface
:log info $iface
:delay 10
My question is, how do I make it run async, that is the first script not to wait for the second to return before running the next foreach? Because now it waits 10 seconds before each one.