tmpwatch recursively removes files which haven't been accessed for a given number of hours. Normally, it's used to clean up directories which are used for temporary holding space such as /tmp.
usage;
/usr/sbin/tmpwatch HOUR DIRECTORY
1080 = 45.0 days
720 = 30.0 days
240 = 10.0 days
Here's the command I use on my servers;
/usr/sbin/tmpwatch 1080 /tmp
/usr/sbin/tmpwatch 720 /var/tmp
/usr/sbin/tmpwatch 720 /var/tmp
