remove task
This commit is contained in:
parent
dbfdfd538d
commit
23b207f052
@ -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),
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user