Commit e69ce62e authored by zhengjinlei's avatar zhengjinlei

定时任务

parent ac8fa273
......@@ -17,7 +17,7 @@ score_item_business = {'结束语': 5, '服务态度': 10, '服务用语': 10, '
'开场白': 10}
@kronos.register('0 1 * * *')
@kronos.register('30 1,8,12 * * *')
def rule_stat(start_date=None, end_date=None):
"""
首页概述-违规项统计
......@@ -60,7 +60,7 @@ def rule_stat(start_date=None, end_date=None):
logger.info('[rule_stat]rule stat end.')
@kronos.register('0 1 * * *')
@kronos.register('30 1,8,12 * * *')
def seat_stat(start_date=None, end_date=None):
"""
首页概述-违规坐席统计
......@@ -105,7 +105,7 @@ def seat_stat(start_date=None, end_date=None):
logger.info('[seat_stat]violate seat stat end.')
@kronos.register('0 1 * * *')
@kronos.register('30 1,8,12 * * *')
def score_stat(start_date=None, end_date=None):
"""
坐席得分统计
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment