I am trying to do below and I am stuck I would appreciate your help.
- Telnet run script 1 (this should be run without time out)
- Telnet and run script 2.
- Telnet and stop script 1 upon successful completion of step 2.
currently with the code I got…
when I do step 1…since I do not specify the timeout it is just stuck
or when I specify the time out it times out and never get to run the
Please give me some ideas. I tried to run the 1 step script in
background but then when the telnet session end and goes to the step 2 1
script dies as telnet session has ended…