Closed pmbohm closed 10 years ago
Generally speaking also directories should be cleaned up, not just files.
In addition, this should be triggered automatically, not by accessing a URL. Do not expose this URL to the outside world, this is very insecure.
Superseded by https://github.com/aodn/go-go-duck/pull/25
Working deletion of job files older than 7 days from your grailsApplication.config.worker.outputPath folder (recursively)
usage http://[yourdevserver]/go-go-duck/jobCleanup