EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_MAX_AGE=168 n8n start

Category: n8n & Workflow Automation

EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_MAX_AGE=168 n8n start

Prune executions older than a week

Enables rolling deletion of finished executions, keeping only those younger than 168 hours (7 days). Pruning is on by default with a 336-hour age limit and a 10000 execution count cap, both overridable per workflow. Pruned data is soft-deleted first, then hard-deleted on a schedule.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.