When does /tmp get cleared?
- by John Lawrence Aspden
I'm taking to putting various files in /tmp, and I wondered what the rules on deleting them are?
I'm imagining it's different for different distributions, and I'm particularly interested in Ubuntu and Fedora desktop versions.
But a nice general way of finding out would be a great thing.
Even better would be a nice general way of controlling it! (Something like 'every day at 3 in the morning, delete any /tmp files older than 60 days, but don't clear the directory on reboot')