Hi!

Should the variables $logX be passed to /prod/exe/pos2100 
or do yout want stdout and stderr of /prod/exe/pos2100 to go into the files
$logX ?


Andreas
> ----------
> Von:  david hill[SMTP:[EMAIL PROTECTED]]
> Gesendet:     Dienstag, 13. März 2001 17:21
> An:   Multiple recipients of list ORACLE-L
> Betreff:      Advanced Korn Question
> 
> I was hoping someone in the list might be able to help me understand why
> this happens.
> 
> i have a script a.ksh that looks like this
> a.ksh
> ------
> ksh b.ksh
> ------
> 
> b.ksh
> -------
> su - updater -c "/prod/exe/pos2100" 2>&1 $log1 &
> su - updater -c "/prod/exe/pos2100" 2>&1 $log2 &
> su - updater -c "/prod/exe/pos2100" 2>&1 $log3 &
> su - updater -c "/prod/exe/pos2100" 2>&1 $log4 &
> wait
> -------
> 
> 
> 
> when i run this only 1 of the background runs and the other 3 hang 
> 
> but if i change a.ksh to this
> ------
> ksh b.ksh 2>&1 /dev/null
> ------
> 
> everything works ok and all 4 jobs go into background and run fine
> 
> coudl someone tell me why this happens
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: david hill
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Haunschmidt Andreas VASL/FAS
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to