• 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 not firing when computer is inactive for a while.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer not firing when computer is inactive for a while.


  • Subject: Re: NSTimer not firing when computer is inactive for a while.
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 14 Nov 2017 17:24:26 -0800


> On Nov 14, 2017, at 4:43 PM, Nathan Day <email@hidden> wrote:
>
> The background app is kept alive by launchd as a User Agent and looks for new
> resources to be downloaded periodically

If this is a launchd agent, you can configure its plist so it gets launched
periodically. That way it won’t have to keep running all the time; it can just
poll the network, then quit if there’s nothing to download.

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSTimer not firing when computer is inactive for a while. (From: Nathan Day <email@hidden>)

  • Prev by Date: Re: NSTimer not firing when computer is inactive for a while.
  • Next by Date: Getting immutable UIImage data pointer without copy?
  • Previous by thread: Re: NSTimer not firing when computer is inactive for a while.
  • Next by thread: Re: NSTimer not firing when computer is inactive for a while.
  • Index(es):
    • Date
    • Thread