leodutra
8/13/2015 - 9:27 PM

Clean IBM WebSpherere 7 temp and log files

Clean IBM WebSpherere 7 temp and log files

#!/bin/sh
WAS_7_PATH=/opt/IBM/WebSphere/AppServer70
MAIN_PROFILE=$WAS_7_PATH/profiles/AppSrv01/

rm -Rf $WAS_7_PATH/temp/*
rm -Rf $WAS_7_PATH/logs/*

rm -Rf $MAIN_PROFILE/temp/*
rm -Rf $MAIN_PROFILE/wstemp/*	
rm -Rf $MAIN_PROFILE/config/temp/*

sh $MAIN_PROFILE/bin/clearClassCache.sh