From feb423a01b9bed170109eb09ac937d485f10370d Mon Sep 17 00:00:00 2001 From: zakhy Date: Mon, 26 Aug 2024 12:47:43 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B5=D0=B3=D1=83=D0=BB=D1=8F=D1=80?= =?UTF-8?q?=D0=BD=D0=BE=D0=B9=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B8=20=D0=B2=D1=80=D0=B5?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B8=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B?= =?UTF-8?q?=20=D1=84=D0=B0=D0=B1=D1=80=D0=B8=D0=BA=D0=B8=20=D0=B2=20=D0=BD?= =?UTF-8?q?=D0=B0=D1=87=D0=B0=D0=BB=D0=B5=20=D1=81=D0=BC=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/repcofkk/celery.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/repcofkk/celery.py b/app/repcofkk/celery.py index c4119ae..b6ccb64 100644 --- a/app/repcofkk/celery.py +++ b/app/repcofkk/celery.py @@ -30,5 +30,9 @@ app.conf.beat_schedule = { 'shift_report': { 'task': 'apps.main.tasks.create_shift_report', 'schedule': crontab(hour='7,19', minute=50), + }, + 'shift_start_worktime': { + 'task': 'apps.main.tasks.create_start_shift_worktime', + 'schedule': crontab(hour='8,20', minute=1) } }