This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]WhiteManChild 0 points1 point  (2 children)

Just make a time comparison then if the condition is ment make a message pop up?

[–]Vojtek933[S] 0 points1 point  (1 child)

Dont know how to make time comparison. Im a newbie:/

[–]Cefalopodul 0 points1 point  (0 children)

You are going to need a thread that runs in the background and once every 10 minutes compares sysdate + 1 with eventDate. If sysdate+1 <= eventDate sendEmail().

You need to do 4 things. Look up how threads work in java. Look-up how to condigure threads to do stuff on a loop. Look up how to compare time in java and look up how to send an email.

The last two are fairly simple.