From 8b2df5251cc1af68339c51bc91c8430d51e1cf46 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Tue, 9 Feb 2021 15:33:36 +0000 Subject: [PATCH] fix: add alerts and report to default config (#12999) --- superset/config.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/superset/config.py b/superset/config.py index d4b978fc46468..7a2596ec5d7a8 100644 --- a/superset/config.py +++ b/superset/config.py @@ -622,7 +622,15 @@ class CeleryConfig: # pylint: disable=too-few-public-methods "email_reports.schedule_hourly": { "task": "email_reports.schedule_hourly", "schedule": crontab(minute=1, hour="*"), - } + }, + 'reports.scheduler': { + 'task': 'reports.scheduler', + 'schedule': crontab(minute='*', hour='*'), + }, + 'reports.prune_log': { + 'task': 'reports.prune_log', + 'schedule': crontab(minute=0, hour=0), + }, }