Month: February 2010

shell script to clean old oracle trace and log files

This code cleans up old trace files, log files, core dumps, etc. It is designed to be run from cron. It takes a somewhat brutal approach by deleting files after just 7 days – good for e.g. dev/test servers, but

Posted in Scripts

/etc/cron.d not working fails

Files in /etc/cron.d only work if they are not executable files (at least that is the case on newer version of unix/linux).

Posted in Linux