comparison bin/plinks.sh @ 9:7a93e190c74d

logging tweaks, preparing for timeout on problem pdfs
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 Feb 2020 10:34:41 +0000
parents 3b56c2c9d0ee
children a33db8e3f51c
comparison
equal deleted inserted replaced
8:3b56c2c9d0ee 9:7a93e190c74d
2 mkdir -p $TMPDIR 2 mkdir -p $TMPDIR
3 echo $(date) $(hostname) 3 echo $(date) $(hostname)
4 h=$(hostname) 4 h=$(hostname)
5 hn=${h##*n} 5 hn=${h##*n}
6 if [ $hn -eq 0 ]; then echo {005..008}; else echo {009..012}; fi |\ 6 if [ $hn -eq 0 ]; then echo {005..008}; else echo {009..012}; fi |\
7 tr ' ' '\012' |parallel --will-cite -j 4 -N 1 doPlinks.sh ${hn} '{#}' '{}' 7 tr ' ' '\012' |parallel --will-cite -n 1 doPlinks.sh ${hn} '{#}' '{}'
8 echo $(date) $(hostname) $? 8 echo $(date) $(hostname) $?