Your agent can sweep stale drive files
Enforces retention rules across your drive directories of backups, logs, and build artifacts every Monday, applies the configured TTL to each directory, purges files older than their window, and writes a dated audit log of what it removed. It honors a dry-run mode and an allowlist so it only ever deletes within directories you have explicitly opted in, and emails a summary only when it actually purged something. Does nothing on a run where every file is still within its retention window.
-
Enforces retention TTLs across your backups, logs, and artifact directories weekly -
Purges files past their window and writes a dated audit log of what it removed -
Honors a dry-run mode and an allowlist so it only deletes where you opted in -
Emails a summary only when it actually purged something