diff --git a/ad_tasks.py b/ad_tasks.py index d27bcb3..918474c 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -74,8 +74,8 @@ def send_cache_data(): where status=1 and in_used=1 - and '{now}'> {BEGIN} - and '{now}'<{END}; + and '{now}'> begin_time + and '{now}'