mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 20:19:21 -02:30
Implement a stdout tmp cleanup task
* Cleans up stdout tempfiles generated for download * Runs every 3 hours, cleans up files older than 1 day
This commit is contained in:
@@ -303,6 +303,10 @@ CELERYBEAT_SCHEDULE = {
|
||||
'task': 'awx.main.tasks.tower_periodic_scheduler',
|
||||
'schedule': timedelta(seconds=30)
|
||||
},
|
||||
'job_stdout_cleanup': {
|
||||
'task': 'awx.main.tasks.clean_stdout_tempfiles',
|
||||
'schedule': timedelta(hours=3)
|
||||
},
|
||||
}
|
||||
|
||||
# Any ANSIBLE_* settings will be passed to the subprocess environment by the
|
||||
|
||||
Reference in New Issue
Block a user