Remove system job, replace with scheduled task

This commit is contained in:
Seth Foster
2021-04-15 13:47:37 -04:00
parent 33567f8729
commit fa61ec6b3c
3 changed files with 20 additions and 83 deletions

View File

@@ -439,6 +439,7 @@ CELERYBEAT_SCHEDULE = {
'task_manager': {'task': 'awx.main.scheduler.tasks.run_task_manager', 'schedule': timedelta(seconds=20), 'options': {'expires': 20}},
'k8s_reaper': {'task': 'awx.main.tasks.awx_k8s_reaper', 'schedule': timedelta(seconds=60), 'options': {'expires': 50}},
'send_subsystem_metrics': {'task': 'awx.main.analytics.analytics_tasks.send_subsystem_metrics', 'schedule': timedelta(seconds=20)},
'cleanup_images': {'task': 'awx.main.tasks.cleanup_execution_environment_images', 'schedule': timedelta(hours=8)},
# 'isolated_heartbeat': set up at the end of production.py and development.py
}