can anyboby help me to make shell scripts to do
1.Maintanence of alert log files-to have only last two months of log files
2.maintanence of listner.log and sqlnet.log files to have only two weeks of logs.
meaning Scripts to delete log files everymonth/2weeks.
I badly need those immediatly to implement in our office.(Right now we are manually doing)
Please help me.
Thanks in Advance.
I have gone thru that page and there is no scripts for the alert log cleaning
I need to create even to check the error in alertlog file too.I made the script to clean the the files and I am testing it.Once it is ok I can post that in scripts.Now I am in need for the error check script
any help please.
I notice that in the above replties jm has used the -ctime to check for older file name and dragon99 has used the -mtime parameter. whats the difference between the two. Please bear with my little knowledge of unix.
Also is there any way we can do a similar thing on NT also. This script is basically for unix.