Dear All,
I hope everyone is doing great Job.
I just wanted to check if I want to delete all attachments from all closed Ticket older than 30 days, how I can do? Any sql query or something I can schedule to carry out this task on weekly bases.
Thanks a lot.
BR Shrinet
How I can delete all attachments from all closed Ticket?
Moderator: crythias
Re: How I can delete all attachments from all closed Ticket?
there is a feature add on for this from OTRS.com
altertivly you can use Filesystem Storage for the attachments and create a shell script for deleting files
altertivly you can use Filesystem Storage for the attachments and create a shell script for deleting files
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 9
- Joined: 18 Sep 2012, 13:08
- Znuny Version: 3.1.2
- Real Name: BR Shrinet
- Company: Wataniya
Re: How I can delete all attachments from all closed Ticket?
Hi jojo,
Thank you helping me again. Is this add on free or paid one ? And i am running OTRS on windows system so how i can run a shell script ? How i can store attachments on filestem and how i know what i need to delete ? Now proabably you will be thinking abt my all these questions But there is no such information in OTRS admin pdf abt this and all. i am relly sorry but a procedure for doing this correct will helps a lots of users here.
Thanks a lot for you prompt and kind supprt.
BR Shrinet
Thank you helping me again. Is this add on free or paid one ? And i am running OTRS on windows system so how i can run a shell script ? How i can store attachments on filestem and how i know what i need to delete ? Now proabably you will be thinking abt my all these questions But there is no such information in OTRS admin pdf abt this and all. i am relly sorry but a procedure for doing this correct will helps a lots of users here.
Thanks a lot for you prompt and kind supprt.
BR Shrinet
Re: How I can delete all attachments from all closed Ticket?
You need a support contract for those addons. Depending on the contract you get 2, 5 or 10 addons included in the support contract price.brwork wrote:Hi jojo,
Thank you helping me again. Is this add on free or paid one ?
Scheduled task.brwork wrote: And i am running OTRS on windows system so how i can run a shell script ?
http://doc.otrs.org/3.1/en/html/performance-tuning.htmlbrwork wrote:How i can store attachments on filestem and how i know what i need to delete ? Now proabably you will be thinking abt my all these questions But there is no such information in OTRS admin pdf abt this and all. i am relly sorry but a procedure for doing this correct will helps a lots of users here.