Index: trunk/fundraiser-statistics/fundraiser-scripts/fundraiser_reporting.py |
— | — | @@ -48,8 +48,8 @@ |
49 | 49 | def init_db(self): |
50 | 50 | """ Establish connection """ |
51 | 51 | #db = MySQLdb.connect(host='db10.pmtpa.wmnet', user='rfaulk', db='faulkner') |
52 | | - self.db = MySQLdb.connect(host='127.0.0.1', user='rfaulk', db='faulkner', port=3307) |
53 | | - #self.db = MySQLdb.connect(host='storage3.pmtpa.wmnet', user='rfaulk', db='faulkner') |
| 52 | + #self.db = MySQLdb.connect(host='127.0.0.1', user='rfaulk', db='faulkner', port=3307) |
| 53 | + self.db = MySQLdb.connect(host='storage3.pmtpa.wmnet', user='rfaulk', db='faulkner') |
54 | 54 | |
55 | 55 | """ Create cursor """ |
56 | 56 | self.cur = self.db.cursor() |
Index: trunk/fundraiser-statistics/reporting/reporting_all.html |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | <br> |
53 | 53 | |
54 | 54 | <h3><u>Landing Pages Donations Per Donation Click (Completion Rate)</u></h3> |
55 | | -<OBJECT WIDTH="1600" HEIGHT="800" data="report_LP_metrics_conversion_rate.png" type="image/png"> |
| 55 | +<OBJECT WIDTH="1600" HEIGHT="800" data="report_LP_metrics_completion_rate.png" type="image/png"> |
56 | 56 | </OBJECT> |
57 | 57 | |
58 | 58 | </body> |
Index: trunk/fundraiser-statistics/bash/log_copy.sh |
— | — | @@ -56,16 +56,5 @@ |
57 | 57 | |
58 | 58 | cd .. |
59 | 59 | |
60 | | -python squid_miner_script.py l ./logs/landingpages-$T* 1>./mine_log/log-$T.txt 2>./mine_log/log-$T.txt |
61 | | -python squid_miner_script.py i ./logs/bannerImpressions-$T* 1>./mine_log/log-$T.txt 2>./mine_log/log-$T.txt |
62 | | - |
63 | | -cd /home/rfaulk/bash-scripts |
64 | | - |
65 | | -# Run the hourly test |
66 | | -#./run_test.sh |
67 | | - |
68 | | -# start_time="20101110000000" |
69 | | -# end_time="20101110010000" |
70 | | -# banner="testing50_2010" |
71 | | -# |
72 | | -# python data_aggregation_script.py start_time end_time banner |
| 60 | +python squid_miner_script.py l ./logs/landingpages-$T* 1>./mine-log/log-banimp-$T.txt 2>./mine-log/log-banimp-$T.txt |
| 61 | +python squid_miner_script.py i ./logs/bannerImpressions-$T* 1>./mine-log/log-lp-$T.txt 2>./mine-log/log-lp-$T.txt |