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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running a script file in an SSH Telent session

Status
Not open for further replies.

Nick44

Technical User
Jul 31, 2002
312
GB
Hi All,
I believe this is a common problem, I have to reset all the MWI's on an ACM 4 system, as the Message Manager MWI engine has got out of sync and stuck.
I could, of course, sit there like a robot systematically typing clear amw all xxxx and increment xxxx by one everytime until all 400 extensions are done, but this would be very boring and tiring!
Has anyone ever tried to write a script file to run in, for example Extra-PUttY to automatate the process?
I'm sure it must be a simple thing for anyone who knows how to write a script file.
Any Ideas you bright bunch of people?
thanks,
Nick.

Speak softly and carry a big switch
 
If you have an emulator that will run scripts:

Code:
Command: newterm
Terminal Type (513, 715, 4410, 4425, VT220, NTT, W2KTT, SUNT): [513] ossi
cclear amw all 101
t
cclear amw all 102
t
cclear amw all 201
t
cclear amw all 202
t
cclear amw all 301
t
cclear amw all 302
t
cnewterm
t
Terminal Type (513, 715, 4410, 4425, VT220, NTT, W2KTT, SUNT): [513] sunt
Command:

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

35 years Bell, AT&T, Lucent, Avaya
Tier 3 for 25 years and counting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top