From a6d279183faf973c67ace44067604b10814bbd13 Mon Sep 17 00:00:00 2001 From: wad Date: Thu, 19 Apr 2018 16:25:44 +0300 Subject: [PATCH] periodic_billing crontab(day_of_month='1', hour='1', minute='1') --- lms/celery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/celery.py b/lms/celery.py index 95c4803..9e37861 100644 --- a/lms/celery.py +++ b/lms/celery.py @@ -21,7 +21,8 @@ register_signal(client) app.conf.beat_schedule = { 'periodic_billing': { - 'schedule': crontab(minute='*/1'), + 'schedule': crontab(day_of_month='1', hour='1', minute='1'), # заглушка на время отладки + # 'schedule': crontab(minute='*/1'), # crontab(minute='0',hour='*/3',), 'task': 'finance.tasks.periodic_billing' }