[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Using Telnet Command in Expect Script Question
- Subject: [ale] Using Telnet Command in Expect Script Question
- From: Stan.Hearn at ipst.edu (Stan.Hearn at ipst.edu)
- Date: Sat, 05 Sep 1998 12:50:46 -0400
I'm spawning telnet in an expect script (version 5.19).
If I run the script interactively from the UNIX prompt, it works great.
But, if I run it from a cron job it gets stuck here:
spawn telnet abc.acme.com
Trying 199.190.21.20 ...
Connected to abc.acme.com.
Escape character is '^]'.
I think it's trying to negotiate the terminal type.
How do I get past this point so that I can run this script from cron?
Thanks,
Stan Hearn