> I
> think it will be too costly to have a thread running in the
> background, calculating the time. What should be the optimised
> approach?

Depends a bit on the OS you're using. In Linux, i would use cron to
schedule the mail program to run at a specific time. In NT there must be
something like a task scheduler too. All other unixes have job
schedulers similar to cron.

sven

--
Sven E. van 't Veer, llm.
Departamento de Desenvolvimento
Brasil Informatica.
http://www.brvip.com.br

___________________________________________________________________________
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

Reply via email to