Delete attachments of closed tickets

Hi,

I am looking for a way to schedule (cron) a job to remove attachments of all tickets that’s been closed for more than one week. Or even better, replace the attachment with an informative text that the attachment been removed.

I’ve been looking into RT-Shredder, but don’t really understand how to restrict the selection of attachments to tickets closed for a certain period of time.

Thanks

Hello,

There is no such search capabilities in the shredder. Write a script
that finds attachments you want to delete and fire shredder.On Wed, Mar 9, 2011 at 11:37 AM, Niclas Möre niclas.more@ticnet.se wrote:

Hi,

I am looking for a way to schedule (cron) a job to remove attachments of all
tickets that’s been closed for more than one week. Or even better, replace
the attachment with an informative text that the attachment been removed.

I’ve been looking into RT-Shredder, but don’t really understand how to
restrict the selection of attachments to tickets closed for a certain period
of time.

Thanks

Best regards, Ruslan.