Does anyone know how to create a queue for telnets with procomm. You can select multiple entries in the connection directory and procomm will queue them, but it can't be done with telnet....
It does not look like you can do it through the Procomm UI, but it should be somewhat possible to write an ASPECT script that would start off with a list of telnet servers then connect to machines in that list, one at a time, until all connections had been made. Something like this pseudocode might work:
read file containing machines to connect to (read them into a string array I would think)
while a machine remains to connect to
connect manual "machine_name"
if $CARRIER (means we are connected)
do necessary steps
if steps completed successfully, set string in
array to null
disconnect
endif
endwhile
You would probably want to write a function that parsed the string array and return the name of the first machine name, else return an error message that indicated all machines had been connected to. Receiving this error message would be the cue for your script to exit.
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.