Mercurial > hg > cc > cirrus_home
annotate bin/plinks.sh @ 7:25ca3505b4d7
more logging
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Mon, 24 Feb 2020 00:44:53 +0000 |
parents | 0f494c76a887 |
children | 3b56c2c9d0ee |
rev | line source |
---|---|
0 | 1 #!/usr/bin/bash |
2 mkdir -p $TMPDIR | |
3 echo $(date) $(hostname) | |
4 h=$(hostname) | |
5 hn=${h##*n} | |
6
0f494c76a887
refactor to address tarred-up pdfs
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
0
diff
changeset
|
6 if [ $hn -eq 0 ]; then echo {001..002}; else echo {003..004}; fi |\ |
0f494c76a887
refactor to address tarred-up pdfs
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
0
diff
changeset
|
7 tr ' ' '\012' |parallel --will-cite -j 71 -N 1 doPlinks.sh ${hn} '{#}' '{}' |
7 | 8 echo $(date) $(hostname) $? |