Re: shell script question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Mar 13, 2008 at 11:04:23AM -0400, Jerry Geis alleged:
> hi all,
> 
> If I have a shell script on 5.1 that has 2 commands in the script...
> 
> command1
> command2
> 
> and command1 runs until it is kill'ed by some other process. Sometimes 
> command2 runs and sometimes it
> doesnt (this is what it seems like).
> 
> How can I be ensured that command2 will always run after command1 is 
> killed? The script is not killed
> just command1.

In this example, command2 will always run after command1.  The script must be
getting killed.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: pgpbZVMi4QuLt.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux