Mercurial > 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 |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 # runs one cycle | |
4 # | |
5 | |
6 if [ $# -ne 1 ] ; then | |
7 echo "usage: runtick.sh <gamename>" | |
8 exit 1 | |
9 fi | |
10 | |
11 gamename="$1" | |
12 | |
13 | |
14 echo "started backend cycle at `date +%F\ %H:%M:%S`" | |
15 | |
16 ./bin/clock $gamename | |
17 #./bin/weather $gamename | |
18 #./bin/environmant $gamename | |
19 #./bin/market $gamename | |
20 #./bin/growth $gamename | |
21 #./bin/orderexec $gamename | |
22 | |
23 echo "finished backend cycle at `date +%F\ %H:%M:%S`" |