mix mailglass.outbound.payloads.prune (Mailglass v2.4.1)

Copy Markdown View Source

Manually run one bounded, tenant-explicit outbound payload prune batch.

This is the universal operational path: it works whether or not Oban is installed, and calls the same Mailglass.Outbound.PayloadPruner.prune/1 function as the optional scheduled worker.

Usage

mix mailglass.outbound.payloads.prune --tenant TENANT_ID

--tenant is required. The task never defaults or enumerates tenants. Its output contains aggregate lifecycle state and reason counts only.