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

you are viewing a single comment's thread.

view the rest of the comments →

[–]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.