> On Nov 14, 2017, at 4:43 PM, Nathan Day 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 kee
On Nov 14, 2017, at 16:57 , Quincey Morris
wrote:
>
> I would suggest you try setting the QoS to at least “utility”, perhaps even
> “user initiated”.
To clarify: *what* you set to a different QoS depends on the nature of the
thing you described as a “background process”. For example, if you’r
On Nov 14, 2017, at 16:43 , Nathan Day wrote:
>
> I have a background process that uses an NSTimer that is set to fire every
> minute, but when the computer is inactive for a while it will stop firing
My guess is that it’s not a problem with the timer, but with the quality of
service (QoS) of
I should make it clear, this is a Mac OS X application.
Nathan Day
On 14 Nov, 2017, at 01:43 PM, Nathan Day wrote:
I have a background process that uses an NSTimer that is set to fire every
minute, but when the computer is inactive for a while it will stop firing, its
not until someone inter
I have a background process that uses an NSTimer that is set to fire every
minute, but when the computer is inactive for a while it will stop firing, its
not until someone interacts with the computer the timer will start firing
again. The timer is added to the main NSRunLoop, maybe the NSRunLoo
On 2009 Aug 09, at 09:26, Alastair Houghton wrote:
I think the problem, therefore, is that you're trying to schedule
your timer
on the wrong thread (I guess you're expecting it to be scheduled on
your app's
main thread)?
The performSelectorOnMainThread::: methods are your friend in
situ
On 9 Aug 2009, at 16:56, kentoz...@comcast.net wrote:
I'm running an NSInvocationOperation in an NSOperationQueue and set
up a listener for the operation's "isFinished" notification. My
"observeValueForKeyPath" method is getting called when the operation
finishes, but I'm finding that when
Hi
I'm running an NSInvocationOperation in an NSOperationQueue and set up a
listener for the operation's "isFinished" notification. My
"observeValueForKeyPath" method is getting called when the operation finishes,
but I'm finding that when I try to create a timer inside "
observeValueForKeyP