annotate runtick.sh @ 14:bbc214c6fa6f

fixed the result of an unchecked rename ...
author meillo@marmaro.de
date Wed, 23 Jul 2008 16:39:06 +0200
parents ac67f688ed2e
children eb8db0d906de
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
9
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
7 echo "usage: runtick.sh <database>"
0
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
9
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
11 database="$1"
0
831599184108 inital commit
meillo@marmaro.de
parents:
diff changeset
12
9
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
13 echo "database '$database'"
0
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
9
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
16 ./bin/clock $database
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
17 ./bin/weather $database
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
18 ./bin/environment $database
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
19 #./bin/market $database
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
20 ./bin/growth $database
ac67f688ed2e switched from gamename to database for identifing
meillo@marmaro.de
parents: 7
diff changeset
21 #./bin/orderexec $database
0
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`"