mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
Add clearsessions and cleartokens system jobs
* add system job for gathering insights analytics * enforce schedule enablement with analytics setting * remove celery beat analytics job * keep analytics schedule & setting enablement in sync in API * handles updating schedules for multiple sys job schedules * add analytics setting & schedule test * rm ui modal from collection sys job
This commit is contained in:
@@ -1139,7 +1139,8 @@ class SystemJobOptions(BaseModel):
|
||||
SYSTEM_JOB_TYPE = [
|
||||
('cleanup_jobs', _('Remove jobs older than a certain number of days')),
|
||||
('cleanup_activitystream', _('Remove activity stream entries older than a certain number of days')),
|
||||
('cleanup_facts', _('Purge and/or reduce the granularity of system tracking data')),
|
||||
('clearsessions', _('Removes expired browser sessions from the database')),
|
||||
('cleartokens', _('Removes expired OAuth 2 access tokens and refresh tokens'))
|
||||
]
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user