Wednesday 12 June 2013



LOGFILE REMOVAL SCRIPT FOR 30 DAYS

find $LOG_HOME/ora/10.1.3/Apache -name "*.log" -mtime +30 -exec rm -f {} \;
find $LOG_HOME/ora/10.1.2/reports/cache -name "o*.txt" -mtime +30 -exec rm -f {} \;
find $LOG_HOME/ora/10.1.2/reports/cache -name "o*.eps" -mtime +30 -exec rm -f {} \;
find $LOG_HOME/ora/10.1.2/reports/cache -name "o*.xml" -mtime +30 -exec rm -f {} \;
find $LOG_HOME/ora/10.1.2/forms -name "em_*.rti" -mtime +30 -exec rm -f {} \;
find $LOG_HOME/ora/10.1.2/forms -name "frmweb_dump" -mtime +30 -exec rm -f {} \;
find $APPLTMP -name "OF*.t" -mtime +30 -exec rm -f {} \;

UNWANTED LOG FILE REMOVAL
http://dbataj.blogspot.in/2011/07/housekeeping-of-r12-application.html

No comments:

Post a Comment