# up celery cron
This commit is contained in:
parent
1cd95a0a54
commit
e8afe1c8d5
|
@ -209,10 +209,10 @@ CELERY_TIMEZONE = 'Asia/Shanghai'
|
|||
CELERY_BEAT_SCHEDULE = {
|
||||
'update-daily-statistic': {
|
||||
'task': 'mosquito.tasks.update_daily_statistic',
|
||||
'schedule': crontab(minute='*/1'),
|
||||
'schedule': crontab(hour='*/1'),
|
||||
},
|
||||
'update-latest-statistic': {
|
||||
'task': 'mosquito.tasks.update_latest_statistic',
|
||||
'schedule': crontab(minute='*/1'),
|
||||
'schedule': crontab(hour='*/1'),
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue