Posted: 27 Jan 2020 13:40 EST Last activity: 30 Jan 2020 9:23 EST
How to delete the temp files that are created in the application server
I have temp files created (.Zip) which has to be deleted once the case is created. We are using Pega 8.1.3 version. I have seen in few threads, it is not advisable to delete the temp files, instead use the system cleaner. I need help in configuring it in 8.
It's not advisable to delete PEGA temp files but here it's your own application temp files.
I'm not convinced PEGA itself should manage everything.
Isn't there and can't you create a file system cleanup which would delete all zip files based on criteria you would defined.
Otherwise, since you know that/when your case is created I guess you can call an activity to delete your file for which you stored the reference. You just need to make sure that your case has been handled on a single server and that the cleaning activity will be called on same server. Or use a common and mounted FS to have all your zip files on same location for any node.