Originally posted by Mike London:
Is there a way to have a servlet do something at regular intervals (once an hour, day, or other arbitrary interval)? For example, if I want a servlet to check to see if a directory has changed, could this be developed by starting another thread inside the serlvet and using java.util.Timer or similar approach?
Thanks for anyone's ideas.
-- Mike
You may try Quartz instead of java.util.Timer...Quartz is an OpenSource Porject to meet the need of an Enterprise-Class Scheduler, check it out at SourceForge.net...
[ February 21, 2003: Message edited by: Hua Yu ]