#!/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) $?
