garten
view runtick.sh @ 11:176ee28e7464
switched from mysql to sqlite; (+ some cleanups)
author | meillo@marmaro.de |
---|---|
date | Wed, 23 Jul 2008 11:41:38 +0200 |
parents | b1e309dc0b98 |
children | eb8db0d906de |
line source
1 #!/bin/sh
2 #
3 # runs one cycle
4 #
6 if [ $# -ne 1 ] ; then
7 echo "usage: runtick.sh <database>"
8 exit 1
9 fi
11 database="$1"
13 echo "database '$database'"
14 echo "started backend cycle at `date +%F\ %H:%M:%S`"
16 ./bin/clock $database
17 ./bin/weather $database
18 ./bin/environment $database
19 #./bin/market $database
20 ./bin/growth $database
21 #./bin/orderexec $database
23 echo "finished backend cycle at `date +%F\ %H:%M:%S`"