ermannog / AutoTelnet

Telnet automation tool
MIT License
17 stars 4 forks source link

How to wait for a string ? #1

Open Subash-Chandra opened 5 years ago

Subash-Chandra commented 5 years ago

Hello. I am trying to back up run configurations. I put in all the parameters, and then I say "sh run", and it responds that it is building a configuration. But then the console closes before it actually builds the configurations and puts it in the log file.

How would I make it wait for the log file? I looked around in the download for a list of commands that I could use but couldnt seem to find anything that worked.

I tried using the command [WaitFor "end"] and [wait 10000] but neither of those seem to work. Help me out please!

ermannog commented 5 years ago

You can change the settings Read Delay (ms) and Attemps retry reading in the Settings Tab...