Skip to main content

Module task_cleanup

Module task_cleanup 

Source
Expand description

Auto-cleanup of terminated tasks and associated data. Auto-cleanup of terminated tasks and their associated data.

Batch-deletes tasks in terminal state (completed/failed/cancelled) that are older than a configurable retention period. Cascade-deletes all related items, runs, events, and log files.

Functions§

cleanup_old_tasks
Clean up terminated tasks older than retention_days.