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