garten

diff 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 diff
     1.1 --- a/runtick.sh	Mon May 26 23:25:36 2008 +0200
     1.2 +++ b/runtick.sh	Wed Jul 23 11:39:15 2008 +0200
     1.3 @@ -4,20 +4,20 @@
     1.4  #
     1.5  
     1.6  if [ $# -ne 1 ] ; then
     1.7 -	echo "usage: runtick.sh <gamename>"
     1.8 +	echo "usage: runtick.sh <database>"
     1.9  	exit 1
    1.10  fi
    1.11  
    1.12 -gamename="$1"
    1.13 +database="$1"
    1.14  
    1.15 -echo "game '$gamename'"
    1.16 +echo "database '$database'"
    1.17  echo "started backend cycle at `date +%F\ %H:%M:%S`"
    1.18  
    1.19 -./bin/clock $gamename
    1.20 -./bin/weather $gamename
    1.21 -./bin/environment $gamename
    1.22 -#./bin/market $gamename
    1.23 -./bin/growth $gamename
    1.24 -#./bin/orderexec $gamename
    1.25 +./bin/clock $database
    1.26 +./bin/weather $database
    1.27 +./bin/environment $database
    1.28 +#./bin/market $database
    1.29 +./bin/growth $database
    1.30 +#./bin/orderexec $database
    1.31  
    1.32  echo "finished backend cycle at `date +%F\ %H:%M:%S`"