Why does it have to be a servlet? Just code any old Java program and run
it as a cron job... It's not on topic for this discussion so I'd check
for specifics elsewhere.
Otherwise, you could setup the servlet so that it is loaded with the web
server and as part of the init create a separate Thread that runs
alongside the actual servlet and does what you say at specific intervals.
Hope that helps
On Tue, 4 Jan 2000, MA wrote:
> Hello Guys:
> I'm trying to implement servlet invocation after
> certain time period automatically.
> The servlet will connect to a database, retrieve the
> data and then download it into a flat file. I want
> this process to be repeated after every 30 minutes.
> Any brain dump or pointers about how to implement this
> is appreciated.
>
> Thanks,
> Mub
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://messenger.yahoo.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html