--- trunk/get-new.sh 2002/02/15 16:31:06 62 +++ trunk/get-new.sh 2003/09/29 09:38:54 94 @@ -1,11 +1,17 @@ #!/bin/sh -cd /home/dpavlin/nn +dir=/home/dpavlin/nn + +cd $dir wget -O - http://www.nn.hr/sluzbeni-list/sluzbeni/PregledB.asp?god=`date +%Y` 2>/dev/null | grep CijeliBrojS | cut -d\" -f2 | sed 's,../../,http://www.nn.hr/,' > in-$$ out=`wget -i in-$$ -nc 2>&1 | grep saved` rm in-$$ if [ ! -z "$out" ] ; then - ./find4.pl +# ./find4.pl + cd $dir/swish && swish-e -c nn.conf -S prog + $dir/sluzbeno/update.sh + cd $dir/swish && swish-e -c sluzbeno.conf -S fs fi +