garten
annotate runtick.sh @ 16:3c104b5f5158
fixed small bug
author | meillo@marmaro.de |
---|---|
date | Wed, 23 Jul 2008 16:49:10 +0200 |
parents | b1e309dc0b98 |
children | eb8db0d906de |
rev | line source |
---|---|
meillo@0 | 1 #!/bin/sh |
meillo@0 | 2 # |
meillo@0 | 3 # runs one cycle |
meillo@0 | 4 # |
meillo@0 | 5 |
meillo@0 | 6 if [ $# -ne 1 ] ; then |
meillo@9 | 7 echo "usage: runtick.sh <database>" |
meillo@0 | 8 exit 1 |
meillo@0 | 9 fi |
meillo@0 | 10 |
meillo@9 | 11 database="$1" |
meillo@0 | 12 |
meillo@9 | 13 echo "database '$database'" |
meillo@0 | 14 echo "started backend cycle at `date +%F\ %H:%M:%S`" |
meillo@0 | 15 |
meillo@9 | 16 ./bin/clock $database |
meillo@9 | 17 ./bin/weather $database |
meillo@9 | 18 ./bin/environment $database |
meillo@9 | 19 #./bin/market $database |
meillo@9 | 20 ./bin/growth $database |
meillo@9 | 21 #./bin/orderexec $database |
meillo@0 | 22 |
meillo@0 | 23 echo "finished backend cycle at `date +%F\ %H:%M:%S`" |