A timer Function
Posted on 2004-03-22
I have a function that I have written which will do some checks on data stored in a database.
This function is effectivly a database data synchronisation, it implements rules on the data, and updates the database accordingly.
This is called from a jsp page as a javabean and everything is working fine.
What i want to do is to have this function run at set intervals and fixed time each day.
So function wakes up at 10:00 GMT and runs,
then every 1 hour repeat,
I want this function to exist and continue to work throught the web application so unless I undeploy the webapplication from tomcat.
I am using NetBeans, and Tomcat 4.
How do I go about implementing this?