Re: advice on background process
Re: advice on background process
- Subject: Re: advice on background process
- From: "Rick C." <email@hidden>
- Date: Mon, 15 Jun 2009 11:31:18 -0700 (PDT)
thank you both for the input. yes i just need leopard and later support. i will look into your suggestions and post back after i've had some time to work on it. thanks again for pointing me in the right direction.
rick
________________________________
From: Jerry Krinock <email@hidden>
To: cocoa-dev <email@hidden>
Sent: Monday, June 15, 2009 9:01:06 AM
Subject: Re: advice on background process
On 2009 Jun 14, at 09:48, Michael Ash wrote:
> On Sun, Jun 14, 2009 at 7:19 AM, Rick C.<email@hidden> wrote:
>> my project is fairly small and it monitors via notification certain directories for changes.
>
> The most obvious way to do this would be to just have two
> applications. One is an LSUIElement which does the monitoring and any
> UI type stuff that's done during that, and the other is a regular
> application which talks to it.
Yes, split it into two as Mike recommends, but if that monitoring app's sole function is to watch certain directories for changes and you're requiring Mac OS 10.4 or later, you're in luck. "Monitoring ... certain directories for changes" can be performed by installing a launchd task. So you only need one app. Read:
http://developer.apple.com/MacOsX/launchd.html
_______________________________________________
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
_______________________________________________
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