garten

annotate runtick.sh @ 8:9bd0a2100694

new weather implementation
author meillo@marmaro.de
date Mon, 26 May 2008 23:25:36 +0200
parents e3679f888813
children ac67f688ed2e
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@0 7 echo "usage: runtick.sh <gamename>"
meillo@0 8 exit 1
meillo@0 9 fi
meillo@0 10
meillo@0 11 gamename="$1"
meillo@0 12
meillo@4 13 echo "game '$gamename'"
meillo@0 14 echo "started backend cycle at `date +%F\ %H:%M:%S`"
meillo@0 15
meillo@0 16 ./bin/clock $gamename
meillo@4 17 ./bin/weather $gamename
meillo@6 18 ./bin/environment $gamename
meillo@0 19 #./bin/market $gamename
meillo@7 20 ./bin/growth $gamename
meillo@0 21 #./bin/orderexec $gamename
meillo@0 22
meillo@0 23 echo "finished backend cycle at `date +%F\ %H:%M:%S`"