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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
1 #!/bin/sh
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
2 #
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
3 # runs one cycle
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
4 #
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
5
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
6 if [ $# -ne 1 ] ; then
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
7 echo "usage: runtick.sh <gamename>"
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
8 exit 1
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
9 fi
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
10
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
11 gamename="$1"
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
12
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
13
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
14 echo "started backend cycle at `date +%F\ %H:%M:%S`"
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
15
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
16 ./bin/clock $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
17 #./bin/weather $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
18 #./bin/environmant $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
19 #./bin/market $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
20 #./bin/growth $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
21 #./bin/orderexec $gamename
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
22
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
23 echo "finished backend cycle at `date +%F\ %H:%M:%S`"