meillo@0: #!/bin/sh meillo@0: # meillo@0: # runs one cycle meillo@0: # meillo@0: meillo@0: if [ $# -ne 1 ] ; then meillo@9: echo "usage: runtick.sh " meillo@0: exit 1 meillo@0: fi meillo@0: meillo@9: database="$1" meillo@0: meillo@9: echo "database '$database'" meillo@0: echo "started backend cycle at `date +%F\ %H:%M:%S`" meillo@0: meillo@9: ./bin/clock $database meillo@9: ./bin/weather $database meillo@9: ./bin/environment $database meillo@9: #./bin/market $database meillo@9: ./bin/growth $database meillo@9: #./bin/orderexec $database meillo@0: meillo@0: echo "finished backend cycle at `date +%F\ %H:%M:%S`"