oncall-engine/engine/apps/grafana_plugin
Michael Derynck d938b52d80
Add scheduled task to start cleanup tasks (#3976)
# What this PR does
Add scheduled task to start cleanup tasks. Currently purpose is to run
the task every 12 hours and for all active orgs cleanup empty & deleted
integrations. For deleted orgs we can run this manually. It will also
run if an org moves from active to deleted. It is expected to add more
to cleanup_organization task over time.

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-03-04 19:45:01 +00:00
..
helpers Enable labels feature only if labels plugin is enabled (#3769) 2024-01-30 07:29:16 +00:00
tasks Add scheduled task to start cleanup tasks (#3976) 2024-03-04 19:45:01 +00:00
tests Add scheduled task to start cleanup tasks (#3976) 2024-03-04 19:45:01 +00:00
views Add more logging to plugin sync and install (#3730) 2024-01-23 22:59:33 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
urls.py Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00