garten

view runtick.sh @ 9:ac67f688ed2e

switched from gamename to database for identifing we have one db per game now
author meillo@marmaro.de
date Wed, 23 Jul 2008 11:39:15 +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`"