Magento "tmp" folder - when is it cleared/erased?
<p>How often does <code>tmp</code> folder gets erased or cleared by Magento? or which events/triggers can I expect to wipe the contents of that folder?</p>

<p><strong>Magento version:</strong> 1.9.0.1</p>

<p>So far I've noticed that most modules that use <code>tmp</code> folder have their own logic to remove files (created in <code>tmp</code>) related to the module.</p>