Mercurial > garten
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 |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 # runs one cycle | |
4 # | |
5 | |
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 | 8 exit 1 |
9 fi | |
10 | |
9
ac67f688ed2e
switched from gamename to database for identifing
meillo@marmaro.de
parents:
7
diff
changeset
|
11 database="$1" |
0 | 12 |
9
ac67f688ed2e
switched from gamename to database for identifing
meillo@marmaro.de
parents:
7
diff
changeset
|
13 echo "database '$database'" |
0 | 14 echo "started backend cycle at `date +%F\ %H:%M:%S`" |
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 | 22 |
23 echo "finished backend cycle at `date +%F\ %H:%M:%S`" |