garten
view runtick.sh @ 18:5937504619f2
rename game.h -> modules.h; added some error handling; and more
author | meillo@marmaro.de |
---|---|
date | Wed, 23 Jul 2008 17:40:55 +0200 |
parents | b1e309dc0b98 |
children | eb8db0d906de |
line source
1 #!/bin/sh
2 #
3 # runs one cycle
4 #
6 if [ $# -ne 1 ] ; then
7 echo "usage: runtick.sh <database>"
8 exit 1
9 fi
11 database="$1"
13 echo "database '$database'"
14 echo "started backend cycle at `date +%F\ %H:%M:%S`"
16 ./bin/clock $database
17 ./bin/weather $database
18 ./bin/environment $database
19 #./bin/market $database
20 ./bin/growth $database
21 #./bin/orderexec $database
23 echo "finished backend cycle at `date +%F\ %H:%M:%S`"