diff --git a/ad_tasks.py b/ad_tasks.py index dcb9984..d27bcb3 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -74,11 +74,12 @@ def send_cache_data(): where status=1 and in_used=1 - and '{now}'> begin_time - and '{now}' {BEGIN} + and '{now}'<{END}; """ data = mydb.query(get_data_sql) + pdb.set_trace() if data: for line in data: if line: