proc main
while 1
waitfor "prompt"
transmit "command"
pause 900
endwhile
endproc
Replace prompt and command above with the actual strings (you'll want to add ^M to the end of the command string so that a carriage return is sent and the command processed by the remote system). You may also need to come up with to exit the endless loop unless that is OK in your situation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.