remove task

This commit is contained in:
zakhy 2024-11-26 16:10:32 +07:00
parent dbfdfd538d
commit 23b207f052

View File

@ -1,7 +1,6 @@
import os
from celery import Celery
from celery.schedules import crontab
# Установить модуль с настройками. Должна идти до следующей строчки
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'repcofkk.settings')
@ -27,8 +26,4 @@ app.conf.beat_schedule = {
'task': 'apps.main.tasks.write_scale_control_data_to_redis',
'schedule': 30,
},
'shift_report': {
'task': 'apps.main.tasks.create_shift_report',
'schedule': crontab(hour='7,19', minute=50),
},
}