[TYPO3-dev] TYPO3 cleanup cli for typo3temp

J. Lingott jbl at deweblop.de
Fri Feb 18 19:19:09 CET 2011


Hey list,

wrote some small command line interface for running cronjob to cleanup 
typo3temp directory. Made it as subpart of install sysext as its kind of 
using the procedure provided there. Modified it a bit to fit the needs 
of a scheduled task and it currently just supports the cleanup of 
typo3temp and its sub-directories (as that is all what I needed at the 
moment).

The options are basically the same as for the install tool, just added 
some more to have extended functionality. Like for instance running 
through multiple sub-directories of typo3temp, including typo3temp 
itself. Also its possible to set the number of repeated runs being 
processed, so larger amounts can be processed without pushing server 
performance down too much. Also fixed a small bug concerning the file 
hash check, which didn't take into account file extensions differing 
from three chars.

If you are interested in providing the code, i'd need info on how to do 
so! :-)

Greetings


Jörg Lingott




More information about the TYPO3-dev mailing list