Hi
I have a servlet which I would like to carry out db maintenance. I can do db maintenance side but I would like the methods to run at x time, ie once a week. or once a day
I found a servlet from which generates a thread to carry out the timing process but. I would like to stop the thread, and restart the thread. I have read that there can be deadlock issues with doing this. What i don't want to do is create new instances of the timer class, which I originaly setup in the init.
Does anybody know how I could get round this or have a servlet that can do this, ie can stop and start the maintenace calls (that are running x days) through a web controller page
Thanks
Kenny
I have a servlet which I would like to carry out db maintenance. I can do db maintenance side but I would like the methods to run at x time, ie once a week. or once a day
I found a servlet from which generates a thread to carry out the timing process but. I would like to stop the thread, and restart the thread. I have read that there can be deadlock issues with doing this. What i don't want to do is create new instances of the timer class, which I originaly setup in the init.
Does anybody know how I could get round this or have a servlet that can do this, ie can stop and start the maintenace calls (that are running x days) through a web controller page
Thanks
Kenny