I am using JBOSS3.2.6 I want to write cleanup script which will delete .bak,.old,.orig etc. files periodically.These files are present in webrrot of the application.
How this cleanup script should be written and where to put that script for execution. Also how to test its execution.
check out the sheduler service in our documentation.