diff --git a/clear_up.py.template b/clear_up.py.template index f3391f8..2256fdc 100644 --- a/clear_up.py.template +++ b/clear_up.py.template @@ -1,3 +1,6 @@ +""" +ÇåÀí²âÊÔÊý¾Ý +""" import json from settings import settings @@ -22,7 +25,7 @@ where `#event_time`>addDays(now('UTC'),-3) and ( lower(`#os`) = 'windows' or svrindex not in {serverid} - or svrindex is null ) + ) group by `#account_id`, `#event_time`, `#event_name`,`#os`,`svrindex` having n = 1 limit 2000"""