view bin/plinksRedo.sh @ 93:4d870a7ec871

support a command to receive each result, remove use of X-Crawler-Content-Length
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 15 Apr 2021 10:59:25 +0000
parents b976a7449d41
children
line wrap: on
line source

#!/usr/bin/bash
module load miniconda/python3
echo $(date) $(hostname)
h=$(hostname)
hn=${h##*n}
cat /beegfs/common_crawl/CC-MAIN-2019-35/pdfs/links/redo_$hn |\
parallel --will-cite -j 48 -N 1 bin/doPlinks.sh ${hn} '{#}' '{}'
echo $(date) $(hostname) $?