changeset 19:eb8db0d906de

updated runtick.sh to current program
author meillo@marmaro.de
date Wed, 23 Jul 2008 17:44:15 +0200
parents 5937504619f2
children 17b2bcc42d72
files main.c runtick.sh
diffstat 2 files changed, 2 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Wed Jul 23 17:40:55 2008 +0200
+++ b/main.c	Wed Jul 23 17:44:15 2008 +0200
@@ -5,7 +5,6 @@
 
 
 void init(void) {
-	/* echo "started backend cycle at `date +%F\ %H:%M:%S`" */
 	db_connect();
 	read_time();
 }
@@ -13,7 +12,6 @@
 
 void cleanup(void) {
 	db_close();
-	/* echo "finished backend cycle at `date +%F\ %H:%M:%S`" */
 }
 
 
@@ -34,7 +32,6 @@
 		exit(1);
 	}
 	database = argv[1];
-	printf("database '%s'\n", database);
 	init();
 
 	/* modules */
--- a/runtick.sh	Wed Jul 23 17:40:55 2008 +0200
+++ b/runtick.sh	Wed Jul 23 17:44:15 2008 +0200
@@ -8,16 +8,7 @@
 	exit 1
 fi
 
-database="$1"
-
-echo "database '$database'"
+echo "database '$1'"
 echo "started backend cycle at `date +%F\ %H:%M:%S`"
-
-./bin/clock $database
-./bin/weather $database
-./bin/environment $database
-#./bin/market $database
-./bin/growth $database
-#./bin/orderexec $database
-
+./garten $1
 echo "finished backend cycle at `date +%F\ %H:%M:%S`"