garten

annotate runtick.sh @ 0:831599184108

inital commit can increment the time in the database
author meillo@marmaro.de
date Mon, 12 May 2008 21:24:20 +0200
parents
children 32c4212f05d9
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@0 13
meillo@0 14 echo "started backend cycle at `date +%F\ %H:%M:%S`"
meillo@0 15
meillo@0 16 ./bin/clock $gamename
meillo@0 17 #./bin/weather $gamename
meillo@0 18 #./bin/environmant $gamename
meillo@0 19 #./bin/market $gamename
meillo@0 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`"