![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron job starts new cron proccess | ron76 | SUN Solaris | 3 | 05-11-2008 10:07 PM |
| Calling expect scripts from other expect scripts | seva | Shell Programming and Scripting | 0 | 04-03-2008 10:45 AM |
| AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log | Keith Johnson | AIX | 0 | 01-09-2008 04:32 PM |
| Expect and auto expect command | arun_v | Shell Programming and Scripting | 0 | 03-29-2006 04:31 AM |
| expect script in cron | Deepa | Shell Programming and Scripting | 4 | 03-03-2003 10:02 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
expect and cron
I have the following expect script, which I want to run in cron. It fails however, very likely due to the fact that there's no /dev/tty available.
Code:
set timeout 30 spawn -nottycopy -nottyinit /usr/bin/ssh $hostname $command match_max 100000 expect "password" send -- "$password" send -- "\r" interact Any ideas anyone? |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|