/[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 86 - (show annotations)
Fri Jul 11 20:58:06 2003 UTC (20 years, 8 months ago) by dpavlin
Original Path: trunk/run.sh
File MIME type: application/x-sh
File size: 421 byte(s)
run wget only weekly

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