There's also a slightly more robust solution at

http://sourceforge.net/projects/quartz/




> -----Original Message-----
> From: Christopher Williams [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 26, 2003 4:12 PM
> To: Tomcat Users List
> Subject: Re: how to make a scheduled event on tomcat
> 
> 
> Use a java.util.Timer.  Store the next scheduled event time 
> in a Preferences object.  If Tomcat isn't running when your 
> event is due, run it on next startup.  Then update the event 
> time in Preferences.
> 
> Chris Williams.
> 
> ----- Original Message ----- 
> From: "Vladimer Shioshvili" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 26, 2003 9:14 PM
> Subject: how to make a scheduled event on tomcat
> 
> 
> > i would like to have a method that would run every-so-often 
> (let's say 
> > two weeks). i am guessing listener could be an option.. is there a 
> > better solution to achieve this?
> >
> > thanks
> > Vlad
> >
> > ________________
> > Vladimer Shioshvili
> >
> > QRC Division of Macro International Inc.
> > 7315 Wisconsin Avenue, Suite 400W
> > Bethesda, MD 20814
> >
> > Phone: (301) 657 3077 ext. 155


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to