diff --git a/roles/commcare_analytics/templates/superset/superset_config.py.j2 b/roles/commcare_analytics/templates/superset/superset_config.py.j2 index 7cd95cc..816e281 100644 --- a/roles/commcare_analytics/templates/superset/superset_config.py.j2 +++ b/roles/commcare_analytics/templates/superset/superset_config.py.j2 @@ -103,6 +103,10 @@ class CeleryConfig(object): # 'task': 'email_reports.schedule_hourly', # 'schedule': crontab(minute=1, hour='*'), # } + 'delete_redundant_shared_files': { + 'task': 'delete_redundant_shared_files', + 'schedule': crontab(hour='0', minute='0') + } } CELERY_CONFIG = CeleryConfig