/[webpac]/branches/hidra/run.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/hidra/run.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 387 by dpavlin, Mon Mar 8 18:07:37 2004 UTC revision 388 by dpavlin, Wed Jul 7 21:41:50 2004 UTC
# Line 8  fi Line 8  fi
8  week=`date +%Y%w`  week=`date +%Y%w`
9  last_week=`cat $dir/.week 2>/dev/null || echo 'none'`  last_week=`cat $dir/.week 2>/dev/null || echo 'none'`
10    
 # do EBSCO update once a week  
 if [ "$week" != "$last_week" ] ; then  
         cd /data/isis_data/ebsco-marc  
 #       wget -m -nH -i in  
         echo "$week" > $dir/.week  
 else  
         echo "EBSCO already updated this week..."  
 fi  
   
11  cd $dir  cd $dir
12    
13  ( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log  ( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log

Legend:
Removed from v.387  
changed lines
  Added in v.388

  ViewVC Help
Powered by ViewVC 1.1.26