• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTimer replacement?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer replacement?


  • Subject: Re: NSTimer replacement?
  • From: Alexander Spohr <email@hidden>
  • Date: Wed, 9 May 2007 11:59:20 +0200

This is Javaland.

Subclass java.util.TimerTask


atze



Am 09.05.2007 um 11:47 schrieb Johann Werner:

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?

_______________________________________________ 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
References: 
 >NSTimer replacement? (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: NSTimer replacement?
  • Next by Date: Re: NSTimer replacement?
  • Previous by thread: Re: NSTimer replacement?
  • Next by thread: Re: NSTimer replacement?
  • Index(es):
    • Date
    • Thread