|PHP BIRT - Delete Session Folders [message #756187]
||Fri, 11 November 2011 07:24
| karvesh ghunsam
Registered: July 2011
Dear All, |
The integration of php with BIRT entails the creation of session folders containing the rptdocument files.
I have created a batch file with the simple code:
forfiles -p "C:\what\ever" -s -m *.* -d <number of days> -c "cmd /c del @path"
that will delete all session folders older than any specific number of days
However, i am having some trouble to do it because my Tomcat server is running all time and the process seems to lock the rptdocument files in the session folders.
Any advise how to overcome that problem? The issue is that the session folders are cropping rapidly on the server..
Thanks in advance
Powered by FUDForum
. Page generated in 0.01952 seconds