Mercurial > hg > cc > cirrus_home
diff bin/master.sh @ 21:a598469733d3
more job scripts
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 18 Mar 2020 10:57:21 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/master.sh Wed Mar 18 10:57:21 2020 +0000 @@ -0,0 +1,10 @@ +#!/usr/bin/bash +echo $(date) $(hostname) +h=$(hostname) +hn=${h##*n} +if [ $hn -eq 0 ] +then seq --format="%03.0f" $1 $2 +else seq --format="%03.0f" $3 $4 +fi |\ +parallel --will-cite -j 48 -N 1 bin/doHdr.sh ${hn} '{#}' '{}' +echo $(date) $(hostname) $?