rt-clean-attributes(8)

πŸ“¦
version 5.0.10 Β· 5 versions
, in ubuntu stonking

✨ NAME ✨

rt-clean-attributes β€” bestie, this one cleans up your obsolete RT attributes πŸ’…


🌸 SYNOPSIS 🌸

rt-clean-attributes
rt-clean-attributes --older 1M

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so boom: this script deletes obsolete "DeferredRecipients" attributes. That's literally its whole job and it eats every time πŸ”₯

Now, why do those "DeferredRecipients" attributes exist in the first place? They're used by rt-email-digest to stash email that's meant to go out later β€” either daily or weekly, no cap. πŸ“¬

And here's the tea that makes the cleanup totally safe: rt-email-digest only ever processes transactions created at most one week in the past. So any "DeferredRecipients" attribute older than one week is never ever gonna be accessed again, which means deleting it is completely fine. Girl math that actually checks out for once 😭✨


πŸ’– OPTIONS πŸ’–

  • --older β€” a date interval in the <NUM>[<unit>] format. The default unit is D (Days) β€” and H (Hours), M (Months) and Y (Years) are also supported. Pick your timeframe, queen πŸ‘‘
  • --verbose β€” shows extra output on the command line while it's running, so you can watch the whole thing go down πŸŽ€

that's the whole page, you're welcome, no notes πŸ’œ

sign-off time: this lil icon was written for perl v5.40.1 and dated 2026-06-21 β€” go off, you gorgeous thing 🫢🌸

πŸ“¦ where this page comes from