Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Duarte <gduarte@activitycentral.com>2012-12-27 05:02:41 (GMT)
committer Gustavo Duarte <gduarte@activitycentral.com>2012-12-27 05:02:41 (GMT)
commit0780fba5c497672be26029ee726803b11ac5f563 (patch)
tree07569f21efcbd18a8fba614cfa9f7c622836a65a
parent92f7edf33be485a454edf601736176bef7d5bb05 (diff)
get out some printf for debugging
-rw-r--r--INSTALL2
-rw-r--r--build/lib.linux-x86_64-2.7/stats_consolidation/db.py1
-rw-r--r--src/stats_consolidation/db.py1
3 files changed, 1 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index a22c828..d0c1e2d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -7,6 +7,6 @@ Install Instructions
For example:
To run every day at 3 AM hs
-0 3 * * * root path_to_consolidation --db_user=root --db_pass=my_pass db_name=statistics /home/ceibal/sugar-stats/rrd
+0 3 * * * root consolidation_run --db_user=root --db_pass=my_pass db_name=statistics rrd_path=/home/ceibal/sugar-stats/rrd log_path=/var/log
diff --git a/build/lib.linux-x86_64-2.7/stats_consolidation/db.py b/build/lib.linux-x86_64-2.7/stats_consolidation/db.py
index 84a9234..33b42c3 100644
--- a/build/lib.linux-x86_64-2.7/stats_consolidation/db.py
+++ b/build/lib.linux-x86_64-2.7/stats_consolidation/db.py
@@ -208,7 +208,6 @@ class DB_Stats:
def connect (self):
- print ("Try connect to db")
try:
self.cnx = mysql.connector.connect(user=self.user, password=self.password)
cursor = self.cnx.cursor()
diff --git a/src/stats_consolidation/db.py b/src/stats_consolidation/db.py
index 84a9234..33b42c3 100644
--- a/src/stats_consolidation/db.py
+++ b/src/stats_consolidation/db.py
@@ -208,7 +208,6 @@ class DB_Stats:
def connect (self):
- print ("Try connect to db")
try:
self.cnx = mysql.connector.connect(user=self.user, password=self.password)
cursor = self.cnx.cursor()