Event Lisner I Presume - Triggering Code
Event Lisner I Presume - Triggering Code
- Subject: Event Lisner I Presume - Triggering Code
- From: "Jonathan Fleming" <email@hidden>
- Date: Tue, 17 Feb 2004 17:18:08 +0000
I want to trigger a piece of code to run at a determined time, say from code
such as in this NSLog.out.appendln:
NSLog.out.appendln(" registration creationDate is:
" + creationDate + "\r" +
" account must be setup by:
" + timeLapse + "\r" +
" Date/Time now is:
" + now + ".\r" +
" 1st email reminder date:
" + timeLapseR1 +" " + now.equals(timeLapseR1) + ".\r" +
" 2nd email reminder date:
" + timeLapseR2 +" " + now.equals(timeLapseR2)+"\r");
When timeLapseR1 equals it's stated time the email sender will do it's thing
and all will be well...
again when the time reaches that for timeLapseR2 the same thing happens
another email is sent and we're happy.
How do I do that from application.java... trigger code to run at a
determined time.
I can use the after() method but that then means the code is triggered
everytime an app instance is restarted... I just don't know what to use to
do what is needed.
Offers of help greatly respected
Jonathan :^)
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.