Добавление регулярной задачи на создание записи времени работы фабрики в начале смены

This commit is contained in:
zakhy 2024-08-26 12:47:43 +07:00
parent f344ccaf4a
commit feb423a01b

View File

@ -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)
}
}