I’m stuck.
This works:
:if ([/interface get [/interface find name=“VPN”] running] = false) do={
/log info Test
}
This doesn’t work:
:if ([/interface get [/interface find name=“VPN”] running] = false) do={
/tool e-mail send to=email@address.com subject=“SUBJECT” body=“BODY”
}
But this command works on it’s own:
/tool e-mail send to=email@address.com subject=“SUBJECT” body=“BODY”
I have no idea. Any one see the issue? Or is there a better way to do this? I got this example from another forum post.
Thank you