mix accrue.webhooks.prune (accrue v1.0.0)

Copy Markdown View Source

Manually trigger the same retention sweep that Accrue.Webhook.Pruner runs on its Oban cron schedule. Useful for ops engineers who want to reclaim DB space without waiting for the next scheduled run.

Usage

mix accrue.webhooks.prune

Configuration is read from Accrue.Config:

  • :succeeded_retention_days (default 14)
  • :dead_retention_days (default 90)