I got small problem with tomcat I want an application such that for every one hour a java program shoud be executed which is placed in tomcat. Here the tomcat should check for time always, whenever the hour changes it shoud execute java program How can I do that in the server, can any body help in this? thanks in advance
This is typically done by having a servlet that is marked to be init-ed on startup and in the init() method creating a Runnable object that wakes up at the desired time. I like to make such a servlet to have a doGet that reports on the status of the Runnable object and such things as total memory in use, etc. - that way you get two functions in one servlet. Bill