view bin/plinks.sh @ 10:a33db8e3f51c

bigger run, longer limit
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 Feb 2020 14:56:36 +0000
parents 7a93e190c74d
children b0d9fe66ce8a
line wrap: on
line source

#!/usr/bin/bash
mkdir -p $TMPDIR
echo $(date) $(hostname)
h=$(hostname)
hn=${h##*n}
if [ $hn -eq 0 ]; then echo {013..062}; else echo {063..112}; fi |\
tr ' ' '\012' |parallel --will-cite -j 30 -N 1 doPlinks.sh ${hn} '{#}' '{}'
echo $(date) $(hostname) $?