/tmp and laziness

So I'm lazy - I don't want to do any more work than I'm required to in regards to silly things like /tmp folders. I want to remove old files from the /tmp directory (obviously old session files, cpanel.tmp files from failed cpanel file manager uploads, etc) auto-magically. I've looked at a program called tmpwatch, but I've read others that have had trouble with it before in removing things like the mysql.sock symlink.

Anyone know of any other programs/scripts that would be cronable and would safely remove this junk? Does tmpwatch still mess up and remove symlinks like it was reported to do when I looked at it originally? Anyone else running it with no issues? Or should I just manually do it or create a script myself to remove the junk?

-David

 

 

 

 

Top