Page 1 of 1

Suggestion

Posted: Wed Apr 08, 2020 10:28 am
by tdemeyer
We receive a lot of tickets via email.

Nowadays people use large signatures, often with a lot of images in them. All these images are stored on the server as ticket attachments.

I noticed our system has over 10,000 files in the attachment folder, for approx 2,500 tickets.

Can I suggest some sort of maintenance page/script/... that cleans up this folder. Eg: delete all attachments for (closed) tickets older than x days/week/months ?

Re: Suggestion

Posted: Wed Apr 08, 2020 10:44 am
by Klemen
This makes sense, yes. I had something like this already planned but didn't get to it yet.

Will see if I can come up with something in the next few days (as a stand-alone tool, not integrated directly into Hesk yet).

Re: Suggestion

Posted: Wed Apr 08, 2020 11:05 am
by tdemeyer
Anything that can be launched via task scheduler would be handy.


Possible extr afilters:

- exclude/include specific file types (eg when I want to keep PDF...)
- limit deletion to files with a given max file size


..