Parent Directory | Revision Log
script that drives it all
1 | #!/bin/sh |
2 | |
3 | dir=/home/dpavlin/nn |
4 | |
5 | cd $dir |
6 | |
7 | #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-$$ |
8 | wget -O - "http://www.nn.hr/pretrazivanje/sluzbeno/pregled2.asp?godina=`date +%Y`&period=5" 2>/dev/null | grep pregled.asp | cut -d\" -f8 | sed 's#pregled.asp#http://www.nn.hr/pretrazivanje/sluzbeno/pregled.asp#g' > in-$$ |
9 | |
10 | out=`wget -v -i in-$$ -nc 2>&1 | grep saved` |
11 | rm in-$$ |
12 | |
13 | if [ ! -z "$out" ] ; then |
14 | #./find4.pl |
15 | cd $dir/swish && swish-e -c nn.conf -S prog |
16 | $dir/sluzbeno/update.sh |
17 | cd $dir/swish && swish-e -c sluzbeno.conf -S fs |
18 | fi |
19 |
Name | Value |
---|---|
cvs2svn:cvs-rev | 1.6 |
svn:mime-type | application/octet-stream |
ViewVC Help | |
Powered by ViewVC 1.1.26 |