This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 8b2df52 fix: add alerts and report to default config (#12999)
8b2df52 is described below
commit 8b2df5251cc1af68339c51bc91c8430d51e1cf46
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Tue Feb 9 15:33:36 2021 +0000
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 d4b978f..7a2596e 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),
+ },
}