Set minute for Cron to stop mass task creation (#1010)

This commit is contained in:
Ariel Rin authored and Adarnof committed 2018-04-08 23:22:06 -04:00
1 parent 91e1a374b4
commit d6df5184a6
1 file changed
+3 -3
@@ -41,11 +41,11 @@ CELERYBEAT_SCHEDULER = "django_celery_beat.schedulers.DatabaseScheduler"
CELERYBEAT_SCHEDULE = {
'esi_cleanup_callbackredirect': {
'task': 'esi.tasks.cleanup_callbackredirect',
'schedule': crontab(hour='*/4'),
'schedule': crontab(minute=0, hour='*/4'),
},
'esi_cleanup_token': {
'task': 'esi.tasks.cleanup_token',
'schedule': crontab(day_of_month='*/1'),
'schedule': crontab(minute=0, hour=0),
},
'run_model_update': {
'task': 'allianceauth.eveonline.tasks.run_model_update',
@@ -53,7 +53,7 @@ CELERYBEAT_SCHEDULE = {
},
'check_all_character_ownership': {
'task': 'allianceauth.authentication.tasks.check_all_character_ownership',
'schedule': crontab(hour='*/4'),
'schedule': crontab(minute=0, hour='*/4'),
}
}