agy_purge
Delete session-store job directories older than the specified days, returning removed job IDs and remaining job count. Days must be a positive integer up to 3650 to avoid accidental wipe.
Instructions
Delete session-store job directories whose mtime is older than days. Returns the removed job ids and a coarse count of remaining jobs. days must be a positive integer <= 3650; zero or negative values are rejected to avoid an accidental wipe via off-by-one config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| error | No | ||
| removed | No | ||
| success | Yes | ||
| remaining | No | ||
| removed_count | No |