diff --git a/kobo/settings/base.py b/kobo/settings/base.py index 4a555bbe04..f76606c38c 100644 --- a/kobo/settings/base.py +++ b/kobo/settings/base.py @@ -1159,11 +1159,11 @@ def dj_stripe_request_callback_method(): # Schedule every 30 minutes 'trash-bin-garbage-collector': { 'task': 'kobo.apps.trash_bin.tasks.garbage_collector', - 'schedule': crontab(minute=30), + 'schedule': crontab(minute='*/30'), 'options': {'queue': 'kpi_low_priority_queue'}, }, 'perform-maintenance': { - 'task': 'kobo.tasks.perform_maintenance', + 'task': 'kpi.tasks.perform_maintenance', 'schedule': crontab(hour=20, minute=0), 'options': {'queue': 'kpi_low_priority_queue'}, }, @@ -1180,19 +1180,19 @@ def dj_stripe_request_callback_method(): # Schedule every 10 minutes 'project-ownership-task-scheduler': { 'task': 'kobo.apps.project_ownership.tasks.task_rescheduler', - 'schedule': crontab(minute=10), + 'schedule': crontab(minute='*/10'), 'options': {'queue': 'kpi_low_priority_queue'} }, # Schedule every 30 minutes 'project-ownership-mark-stuck-tasks-as-failed': { 'task': 'kobo.apps.project_ownership.tasks.mark_stuck_tasks_as_failed', - 'schedule': crontab(minute=30), + 'schedule': crontab(minute='*/30'), 'options': {'queue': 'kpi_low_priority_queue'} }, # Schedule every 30 minutes 'project-ownership-mark-as-expired': { 'task': 'kobo.apps.project_ownership.tasks.mark_as_expired', - 'schedule': crontab(minute=30), + 'schedule': crontab(minute='*/30'), 'options': {'queue': 'kpi_low_priority_queue'} }, # Schedule every day at midnight UTC