Each period of time run this code
Hello!
for example i have this function
public void runbytime(){
Date d = new Date();
/************************
here is my question
**************************/
}
In servlet i'll call runbytime() in the initiate, and this function will run a specific code (like http request).
Now, how can i make this function to run the "specific code " each couple of hours?

