/[webpac]/trunk2/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

Contents of /trunk2/run.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (show annotations)
Thu Jun 10 19:22:40 2004 UTC (19 years, 9 months ago) by dpavlin
File MIME type: application/x-sh
File size: 421 byte(s)
new trunk for webpac v2

1 #!/bin/sh
2
3 dir=`dirname $0`
4 if [ "$dir" == "." ] ; then
5 dir=`pwd`
6 fi
7
8 week=`date +%Y%w`
9 last_week=`cat $dir/.week 2>/dev/null || echo 'none'`
10
11 # do EBSCO update once a week
12 if [ "$week" != "$last_week" ] ; then
13 cd /data/isis_data/ebsco-marc
14 # wget -m -nH -i in
15 echo "$week" > $dir/.week
16 else
17 echo "EBSCO already updated this week..."
18 fi
19
20 cd $dir
21
22 ( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log
23

Properties

Name Value
cvs2svn:cvs-rev 1.4
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26