A Ruby-based script for removing old files from stale temp dirs
Ruby
Cross-Platform Ruby-based tmpwatch
I wrote this script in the past, for monitoring and deleting temporary files and directories on systems equipped with Ruby, based upon modification dates. It has the advantage of being cross-platform, compatible with any Ruby-enabled system.