Automated Cleanup of Print Files, Work Files, and Other Files
Use this procedure to clean up print files, work files, RQC files, user home directory files, and WebSphere trace and dump files by either running a program or by defining a recurring job that calls the program. Before running the program or the recurring job, you must set up configuration files. These files enable you to set the cleanup options, exclude specific files from the cleanup process (by file name or by the user name associated with the files), and to specify date ranges for the files to be deleted.
The types of files to be deleted include:
- Completed job entries
- Completed jobs forms and the associated job logs
- Batch report files
- All print files from the print manager
- Files from $LAWDIR/productline/work directory
- All user-related files from the $LAWDIR/RQC_work, $LAWDIR/RQC_work/log, $LAWDIR/RQC_work/cookies directories
- WebSphere trace and dump (.dmp, .phd, javacore and .trc) files that are in subdirectories of the <WASHOME>/profiles directory.
To clean up print files, work files, RQC files, and other files: