If servelt just needs to do what you said, it is not necessary to be a
servlet. It can just be a normal application. You can use sleep to control
the interval.
If it has to be a servelt(I don't see any reason), you can use a small
script(such as telnet to port 80 or whatever) to invoke servelt periodically.
Or even "silly", prepare a html with refresh option to access your servlet.
Keep the html file alive in any browser. It will automatically refresh
current page thus it invokes the servlets.
good luck,
--Fengrui
At 09:23 AM 1/4/00 -0800, you 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