RE: Scheduled Process servlet: possible?

2002-01-29 Thread Brian Adams
I have a Thread class that does some stuff for me every night and I wrapped that with a servlet that calls .start() in the servlet init() method and that servlet in loaded at start up via load-on-startup1/load-on-startup tag in web.xml (look below) this Thread class sleeps for 24 hours then

Re: Scheduled Process servlet: possible?

2002-01-29 Thread alec
Probably best to use a java.util.Timer code snippet Timer t = new Timer(); t.schedule(Task,Date,INTERVAL) // Task is an object that inplements java.util.TimerTask // Date object is the time to first run // Interval is