Live Software had a servlet to do this. Don't know if it's still
around.
Personally I think it's a bad idea.
The idea of using a seperate thread is ok, if you have a servlet that
needs to do something periodically then either spawn a thread with a
periodic TTL and do the operation after the TTL or write to some
external timed operation system, like cron.
Nic
>>> Ben Coppin <[EMAIL PROTECTED]> 8/20/99 11:03:29 AM >>>
Has anyone investigated the use of servlets to carry out periodic
tasks? I
have a servlet through which users can select topics on which they
want to
be emailed regularly. I was thinking that it might be neat if instead
of
using cron to do this, I had a separate thread in the servlet, or
perhaps a
separate servlet periodically wake up and send out emails and then go
back
to sleep.
Does this sound like a daft idea, or has someone out there already
done
something like this?
Thanks,
Ben
___________________________________________________________________________
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