I am a newbie and learning the ropes....today i came across this forum and hope that i will find some help here......i have a script which runs every 5 mins in autosys...it will create log files irrespective of whether any event is found to process or not....this has created huge log files...i want to delete all those logs which do not have any event to process....the code should be given conditionally so that it only removes the files not needed.....for example:
files to retain will have information like:
event type.. abcd
<date and time stamp> .. connection successful..
event id : 1234
log file <path>