- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
ArthurOne wrote: Hi!
Is there anyway to automatically clear/delete old folders from the tmp/assets directory ? I was wondering if there was any option in LimeSurvey 2.55 which will allow me to schedule the removal of old folders from the tmp/assets.
Thanks.
/tmp/ is rarely accessible via web access (and fortunately in general …).LouisGac wrote: …
Another way to do could be to configure LimeSurvey so it uses the server tmp directory which is cleaned at every reboot. This setting can be overridden inside config.php:
github.com/LimeSurvey/LimeSurvey/blob/ma...ig-defaults.php#L638
(the LS subfolder in the tmp directory should be then reachable from Internet)
…
tmp isn't always cleaned at every reboot. That depends on many settings. If tmp is pointing to a ram disk, a reboot cleans tmp. But if tmp is on a harddisk, tmp isn't always cleared via a reboot. Depending on the OS there are many different behaviors.LouisGac wrote: Another way to do could be to configure LimeSurvey so it uses the server tmp directory which is cleaned at every reboot. [..] (the LS subfolder in the tmp directory should be then reachable from Internet)