view bin/plinks.sh @ 8:3b56c2c9d0ee

longer run, terser logging
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 24 Feb 2020 12:16:10 +0000
parents 25ca3505b4d7
children 7a93e190c74d
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 {005..008}; else echo {009..012}; fi |\
tr ' ' '\012' |parallel --will-cite -j 4 -N 1 doPlinks.sh ${hn} '{#}' '{}'
echo $(date) $(hostname) $?