Community discussions

MikroTik App

Search found 1 match

by ericomattos
Wed Dec 04, 2019 12:38 pm
Forum: Scripting
Topic: Suppress output from ping in script?
Replies: 5
Views: 7572

Re: Suppress output from ping in script?

Hello, The ":execute" command returns the job id, so that code will always return "ok". One alternative is: # Create a temp global variable :global ABC "" # Execute the ping in background and get the jobId :local jobId [:execute {:global ABC [:ping count=5 192.168.88.1]...