sequential background jobs

David Keith Wall dkw at osupyr.mast.ohio-state.edu
Fri Oct 7 01:03:23 AEST 1988


    I have been tring to figure out how to "batch" several S
programs so that they will run in sequence (using a shell script)
but so far I can't get anything to work. What I want is something
like this:

S7 BATCH prog1 prog1.out
S7 BATCH prog2 prog2.out
S7 BATCH prog3 prog3.out

but what happens is that they all end up running simultaneously, so
that if some computation in prog2 depends on the results of prog1
I get an error. (Also we're not supposed to run more than one
background process at one time.)

Please e-mail any suggestions to dkw at osupyr.mast.ohio-state.edu.UUCP,
and "thanks for your support".

David K. Wall



More information about the Comp.unix.questions mailing list