Deleting Oracle generated logfiles

Hi all,

how to write shell script to delete the logfiles generated by an oracle application one in every 24 hrs.

Can any one please help.

Thanks in advance

Depending of the log you want to cleanup maybe it can be tweaked through oracle (this may also depend on your oracle version.)
For Oracle 11g and more see the ADRCI tool .
If you are talking about trace files , check this