garten
annotate 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 |
rev | line source |
---|---|
meillo@0 | 1 #!/bin/sh |
meillo@0 | 2 # |
meillo@0 | 3 # runs one cycle |
meillo@0 | 4 # |
meillo@0 | 5 |
meillo@0 | 6 if [ $# -ne 1 ] ; then |
meillo@9 | 7 echo "usage: runtick.sh <database>" |
meillo@0 | 8 exit 1 |
meillo@0 | 9 fi |
meillo@0 | 10 |
meillo@19 | 11 echo "database '$1'" |
meillo@0 | 12 echo "started backend cycle at `date +%F\ %H:%M:%S`" |
meillo@19 | 13 ./garten $1 |
meillo@0 | 14 echo "finished backend cycle at `date +%F\ %H:%M:%S`" |