diff --git a/mosqkiller/settings.py b/mosqkiller/settings.py index 68885f3..aae86f9 100644 --- a/mosqkiller/settings.py +++ b/mosqkiller/settings.py @@ -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'), }, } \ No newline at end of file