diff bin/doPlinks.sh @ 9:7a93e190c74d

logging tweaks, preparing for timeout on problem pdfs
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 Feb 2020 10:34:41 +0000
parents 3b56c2c9d0ee
children b0d9fe66ce8a
line wrap: on
line diff
--- a/bin/doPlinks.sh	Mon Feb 24 12:16:10 2020 +0000
+++ b/bin/doPlinks.sh	Tue Feb 25 10:34:41 2020 +0000
@@ -11,8 +11,7 @@
 plinks.py $tfn || { echo $(date) $hn aborted job $jn for $tfn \[remember to clean up\] ; rm -f /dev/shm/stopJob ; exit 1 ; }
 echo $(date) $hn tarring $(ls badpdfs_*|wc -l)/$(ls links_*_*|wc -l) results from job $jn for $tfn in $(pwd) 1>&2
 tar -cf /beegfs/common_crawl/CC-MAIN-2019-35/pdfs/links/${tfn}.tar badpdfs_${tfn} links_${tfn}_*
-echo $(date) $(pwd) rm $(ls -lt badpdfs_*)
-echo . . .  $(ls -lt links_*_* | tee >(tail -1 1>&2) | head -1) 1>&2
+echo $(date) $(pwd) rm $(ls -lt badpdfs_*) 1>&2
 rm *
 cd ..
 echo $(date) $(pwd) rmdir ${tfn} 1>&2