source: trunk/id-mapper/q @ 6

Last change on this file since 6 was 6, checked in by rob.hooft@…, 6 years ago

first cut at the pmid2doi upfdater

  • Property svn:executable set to *
File size: 370 bytes
2# If the log file is not writable, we're probably running as the wrong user
3if  [ ! -w q.log ] ; then 
4  echo Re-running as pmid2doi 1>&2
5  sudo -u pmid2doi ./q
6  exit 0
8echo -n `date` >> q.log
9awk '/skipped=0/ {s+=50} /skipped=[1-9]/ {s+=100} /Mapped/ {m+=1} END {printf " Mapped %d out of %dk (one in %d)\n",m,s/1000,s/m}' run.log* >> q.log
10tail -2 q.log
Note: See TracBrowser for help on using the repository browser.