Path: utzoo!attcan!uunet!husc6!rutgers!tut.cis.ohio-state.edu!osupyr.mast.ohio-state.edu!dkw From: dkw@osupyr.mast.ohio-state.edu (David Keith Wall) Newsgroups: comp.unix.questions Subject: Sequential execution of S "programs" (a solution) Message-ID: <923@osupyr.mast.ohio-state.edu> Date: 12 Oct 88 14:46:29 GMT Reply-To: dkw@osupyr.mast.ohio-state.edu (David K. Wall) Followup-To: comp.unix.questions Distribution: na Organization: Mathematical Sciences Computer Lab, Columbus, OH Lines: 16 Recently I posted a question asking how to submit S jobs so that they would run in sequence, ie; no more than one background job at one time, which is the rule on the machine here. Thanks to some information from Charlie Geyer (charlie@mica.stat.washington.edu) I was able to modify one of S's controlling scripts to get the results I wanted. The following is a copy of that script for anyone who may find it useful. #!/bin/sh BATCH=yes; export BATCH for file in $* do echo `date`" processing "$file /usr/local/bin/S7 < $file >$file.out 2>&1 done