/[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 242 by dpavlin, Mon Mar 8 18:07:37 2004 UTC revision 738 by dpavlin, Wed May 24 17:06:05 2006 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    export LC_COLLATE=hr_HR
14    export LC_CTYPE=hr_HR
15    
16  ( ./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
17    

Legend:
Removed from v.242  
changed lines
  Added in v.738

  ViewVC Help
Powered by ViewVC 1.1.26