Revision 759 (by dpavlin, 2006/10/29 17:54:45) local changes
#!/bin/sh

dir=`dirname $0`
if [ "$dir" == "." ] ; then
	dir=`pwd`
fi

#week=`date +%Y%w`
#last_week=`cat $dir/.week 2>/dev/null || echo 'none'`

# 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

cd $dir

( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log