fix: add alerts and report to default config (#12999)

This commit is contained in:
Daniel Vaz Gaspar 2021-02-09 15:33:36 +00:00 committed by GitHub
parent 538443893b
commit 8b2df5251c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -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),
},
}