srscheck/build colliding with already in progress build

Reinhard Doelz doelz at comp.bioz.unibas.ch
Fri Jun 30 09:46:05 EST 1995


Don Gilbert (gilbertd at sunflower.bio.indiana.edu) wrote:
: for instance, creating "index/genbank.lock" files while one build
: is in progress so that a new build of the same data will
: not start?

we run the following (primitive but working) shript: 

#!/bin/csh 

ps -ef | grep -v grep | grep -v add | grep srs| grep www >&  /tmp/.update.status _1
if ($status != 0) then
        source /bioz1/software/www/SRS/etc/prep_srs

         ... (code here ) 


-- 
 R.Doelz         Klingelbergstr.70| Tel. x41 61 267 2247  Fax x41 61 267 2078|
 Biocomputing        CH 4056 Basel| electronic Mail    doelz at ubaclu.unibas.ch|
 Biozentrum der Universitaet Basel|-------------- Switzerland ---------------|
<a href=http://beta.embnet.unibas.ch/>EMBnet Switzerland:info at ch.embnet.org</a> 




More information about the Bio-srs mailing list