garten

view runtick.sh @ 20:17b2bcc42d72

added check for empty result; minor stuff
author meillo@marmaro.de
date Sun, 27 Jul 2008 21:34:54 +0200
parents ac67f688ed2e
children
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 echo "database '$1'"
12 echo "started backend cycle at `date +%F\ %H:%M:%S`"
13 ./garten $1
14 echo "finished backend cycle at `date +%F\ %H:%M:%S`"