Создание задачи каждую минуту
This commit is contained in:
parent
6a99ff35e7
commit
8b647330de
@ -17,10 +17,10 @@ app.autodiscover_tasks()
|
||||
app.conf.beat_schedule = {
|
||||
'worktime': {
|
||||
'task': 'apps.main.tasks.create_worktime_data',
|
||||
'schedule': crontab(minute='*/1'),
|
||||
'schedule': crontab(),
|
||||
},
|
||||
'scales_control': {
|
||||
'task': 'apps.main.tasks.create_scales_control_data',
|
||||
'schedule': crontab(minute='*/1'),
|
||||
'schedule': crontab(),
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user