![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| epoch time in shell script | robsonde | SUN Solaris | 14 | 05-12-2009 01:08 PM |
| Execute a part of shell script only after particular date and time | fed.linuxgossip | Shell Programming and Scripting | 2 | 06-16-2007 10:04 PM |
| Help with time comparison shell script for HP-UX | gummysweets | Shell Programming and Scripting | 6 | 10-12-2005 11:48 AM |
| Shell script to join a line to the line that follows it | shashi_kiran_v | Shell Programming and Scripting | 6 | 06-23-2005 03:53 AM |
| C shell script for time matching | Ringo | Shell Programming and Scripting | 1 | 08-07-2003 02:26 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Folks,
In shell script, can I mention a timeout for a command execution, afterwhich I want to exit from that particular line and proceed furthur. I have part of my script as below: ****************************** cd $EXPECT_HOME expect custom_install.exp mv $QA_HOME/install_run/logs/task*.xml $QA_HOME/install_run/logs/console .....and so on... ******************************** Problem I am cing is, its hanging at the end of Expect script execution.. I just wanna comeout of that after say 2 mins and proceed. (Expect time out in expect script doesnt work for me somehow). So, from shell script, can I handle it somehow? Thanks for ur time. --Venkat. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|