garten

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/runtick.sh	Mon May 12 21:24:20 2008 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# runs one cycle
     1.7 +#
     1.8 +
     1.9 +if [ $# -ne 1 ] ; then
    1.10 +	echo "usage: runtick.sh <gamename>"
    1.11 +	exit 1
    1.12 +fi
    1.13 +
    1.14 +gamename="$1"
    1.15 +
    1.16 +
    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/environmant $gamename
    1.22 +#./bin/market $gamename
    1.23 +#./bin/growth $gamename
    1.24 +#./bin/orderexec $gamename
    1.25 +
    1.26 +echo "finished backend cycle at `date +%F\ %H:%M:%S`"