Re: NSTimer replacement?
Re: NSTimer replacement?
- Subject: Re: NSTimer replacement?
- From: Stefan Klein <email@hidden>
- Date: Wed, 09 May 2007 11:57:08 +0200
Hi,
take a look at java.util.Timer and java.util.TimerTask
Stefan
Johann Werner schrieb:
I recently looked at the NSTimer documentation where a
note came up stating that it is obsolete and should not be used for
new development. Unfortunately there is no mention of alternatives.
I have a WO app running that should execute a function at certain
dates automagically ;) More precisely: people can register for an
event and put in different information. At a certain date (to make
sense a couple of days ahead of the event) the app should check if all
mandatory information has been entered and sends a reminder email to
that person if not.
By searching the web the only way if found to implement such behaviour
is using a cronjob with wget and a direct action. But by this the app
loses control of when the action gets called as it is hardcoded.
Additionally I would have to add this call manually in a system config
file. I think that's no good as it is not directly related to the app
and therefore adds to the install/maintenance complexitiy.
What is the common practice to implement such timing needs?
jw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden