From 88e96b81a8e1b9548b86883cb0ecccaf779d6dea Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 27 Apr 2018 16:22:27 +0300 Subject: [PATCH] stat part 1 --- lms/celery.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/celery.py b/lms/celery.py index 361ae63..27eab67 100644 --- a/lms/celery.py +++ b/lms/celery.py @@ -24,10 +24,10 @@ app.conf.beat_schedule = { 'schedule': crontab(minute='0', hour='*/3',), 'task': 'finance.tasks.periodic_billing' }, - # 'statistic_teachers': { - # 'schedule': crontab(hour='16', minute='0'), - # 'task': 'progress.tasks.statistic_teachers' - # } + 'statistic_teachers': { + 'schedule': crontab(minute='*/2'), + 'task': 'progress.tasks.statistic_teachers' + } }