Nic Ferrier wrote:
>
> Personally I think it's a bad idea.
>
Hi,
The idea sounds good to me. :) This servlet-cron service would simply
run in its own thread, and wakes up periodically. This could be
configured depending on the site's design. Maybe every 30 seconds
would be a good start. It would check if there's any tasks at that
point in time to be done, and when through go back to sleep.
In some informal checking, I've found that a sleeping thread uses no
detectable system resources.
Are there some negative aspects to this approach?
- Robb
___________________________________________________________________________
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