Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Launching multiple telnet scripts

Status
Not open for further replies.

jend

Programmer
Aug 20, 2002
7
US
I am using ProComm Plus with Aspect scripts to pull data from various types of switches within my company's network. I would like to launch multiple ProComm telnet sessions at once. I have only been able to use the ProComm Scheduler to launch one telnet session at a time. Does anyone know how to lauch multiple sessions simultaneously? Also what alternatives are there?

Any assistance would be greatly appreciated. Thank you.
 
I've seen several people on the Symantec forum encounter problems with the Procomm scheduler (and it just crashed on me when the first of two telnet connections I scheduled launched), so Symantec recommends that people schedule their scripts using the Windows scheduler instead. If you want to use Procomm's scheduler, I would try staggering each scheduled event by a minute or so instead of trying to launch them all at the same time.
aspect@aspectscripting.com
 
You can write a batch file. In the batch script, you call procomm plus directly multiple times, with the ASPECT script as a parameter. If you have command-line parameters for that script, you can passed it in, too.

One trick is: If you are starting one Procomm Plus session while the previous Procomm Plus is still in compiling scripts or doing other things (instead of running scripts), very likely you will get Windows error. So make sure to sleep enough time before starting the next session.

You can find the command-line syntax from Procomm reference
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top