Skip to content

Commit

Permalink
fix: add alerts and report to default config (#12999)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored Feb 9, 2021
1 parent 5384438 commit 8b2df52
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}


Expand Down

0 comments on commit 8b2df52

Please sign in to comment.