feat: Add admin tasks
This commit is contained in:
@@ -16,10 +16,14 @@ app.conf.beat_schedule = {
|
||||
'task': 'admin.clean_locations',
|
||||
'schedule': crontab(hour=2),
|
||||
},
|
||||
'daily-deactivation': {
|
||||
'task': 'admin.deactivate_unchecked',
|
||||
'daily-unchecked-deactivation': {
|
||||
'task': 'admin.daily_unchecked_deactivation',
|
||||
'schedule': crontab(hour=1),
|
||||
},
|
||||
'daily-404-deactivation': {
|
||||
'task': 'admin.deactivate_404_adoption_notices',
|
||||
'schedule': crontab(hour=3),
|
||||
},
|
||||
}
|
||||
|
||||
if settings.HEALTHCHECKS_URL is not None and settings.HEALTHCHECKS_URL != "":
|
||||
|
Reference in New Issue
Block a user