garten
changeset 4:32c4212f05d9
less verbosity on queries; activation of weather
author | meillo@marmaro.de |
---|---|
date | Wed, 14 May 2008 21:10:11 +0200 |
parents | 0c19ad487f02 |
children | 26ca6c79fc22 |
files | db.h runtick.sh |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/db.h Wed May 14 21:09:09 2008 +0200 1.2 +++ b/db.h Wed May 14 21:10:11 2008 +0200 1.3 @@ -33,7 +33,7 @@ 1.4 int error; 1.5 /* send SQL query */ 1.6 error = mysql_query(conn, query); 1.7 - printf("query: %s\nerror: %d / %d\n", query, error, mysql_errno(conn)); 1.8 + /*printf("query: %s\nerror: %d / %d\n", query, error, mysql_errno(conn));*/ 1.9 if (error != 0) { 1.10 fprintf(stderr, "E: %s\n", mysql_error(conn)); 1.11 }
2.1 --- a/runtick.sh Wed May 14 21:09:09 2008 +0200 2.2 +++ b/runtick.sh Wed May 14 21:10:11 2008 +0200 2.3 @@ -10,11 +10,11 @@ 2.4 2.5 gamename="$1" 2.6 2.7 - 2.8 +echo "game '$gamename'" 2.9 echo "started backend cycle at `date +%F\ %H:%M:%S`" 2.10 2.11 ./bin/clock $gamename 2.12 -#./bin/weather $gamename 2.13 +./bin/weather $gamename 2.14 #./bin/environmant $gamename 2.15 #./bin/market $gamename 2.16 #./bin/growth $gamename