Surely this is all in java.util.Date? (though I don't know how you'd get
it to check while asleep!)

AKS: Boban Acimovic wrote:
>
> I want to write small Java application that will send me e-mail at the right time.
> I already know how to mail, but how to work that action exactly in some predefined 
>time.
> I will keep dates and times in database and I know how to access data.
> I thought to use Thread.sleep() etc. and I can work out that way, checking local 
>time,
> but is there any API that I can use? On example, to say do something in 8:30 
>tomorrow.
> Any help will be appreciated. Thanks.
>
> ___________________________________________________________________________
> 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

--

Intermittent Web site :
http://members.xoom.com/dayers/_XOOM/dayers/index.html


Alternate email :
[EMAIL PROTECTED]

___________________________________________________________________________
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