]> git.donarmstrong.com Git - bugscan.git/blob - crontab
Be slightly more consistent about quoting.
[bugscan.git] / crontab
1 #! /bin/sh
2
3 set -e
4
5 cd /org/bugs.debian.org/bugscan
6
7 # Run script from doogie to check packages in Incoming
8 # ../../doogie/chgscan/update -o quiet=yes
9
10 time=`date +"%Y%m%d%H%M"`
11 statusfile="stati/status-$time"
12 countfile="counts/count-$time"
13
14 if [ -f $statusfile ]; then
15         echo "Error: $statusfile already exists"
16         exit 1
17 fi
18
19 ./bugscan > $statusfile
20
21 rm -f status-old
22 if [ -f status ]; then
23         mv -f status status-old
24 fi
25
26 ln -sf $statusfile status
27 ./bugcounts > $countfile
28 ln -sf $countfile count
29
30 ./dohtml
31 ./dostatus
32 ./dograph