I'd like to run a java application inside Tomcat butonly working at specific time (like inside the cronutility). What do you think is the best aproximation?Inside a while{} and testing time everytime? Withexeptions?