Project

General

Profile

« Previous | Next » 

Revision 7263

inputs/.TNRS/*/*.make: Only allow one instance of the script to be running at any time, by using new waitself

View differences:

inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make
9 9
selfDir="$(dirname -- "$0")"
10 10
selfDirName="$(basename -- "$selfDir")"
11 11

  
12
waitself "$0"
13

  
12 14
# Config
13 15
let pause=2*60*60 # sec; = 2 hr
14 16
let maxPause=4*60*60 # sec; =4 hr; must be >= max partition import time (1.5 hr)
inputs/.TNRS/tnrs/tnrs.make
9 9
selfDir="$(dirname -- "$0")"
10 10
selfName="$(basename $0)"
11 11

  
12
waitself "$0"
13

  
12 14
. vegbien_dest
13 15

  
14 16
if test -n "${log=1}"; then # $log defaults to 1

Also available in: Unified diff