Mercurial > garten
annotate runtick.sh @ 20:17b2bcc42d72 default tip
added check for empty result; minor stuff
author | meillo@marmaro.de |
---|---|
date | Sun, 27 Jul 2008 21:34:54 +0200 |
parents | eb8db0d906de |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 # runs one cycle | |
4 # | |
5 | |
6 if [ $# -ne 1 ] ; then | |
9
ac67f688ed2e
switched from gamename to database for identifing
meillo@marmaro.de
parents:
7
diff
changeset
|
7 echo "usage: runtick.sh <database>" |
0 | 8 exit 1 |
9 fi | |
10 | |
19 | 11 echo "database '$1'" |
0 | 12 echo "started backend cycle at `date +%F\ %H:%M:%S`" |
19 | 13 ./garten $1 |
0 | 14 echo "finished backend cycle at `date +%F\ %H:%M:%S`" |