Re: advice on background process
Re: advice on background process
- Subject: Re: advice on background process
- From: "Rick C." <email@hidden>
- Date: Thu, 18 Jun 2009 06:42:20 -0700 (PDT)
thanks again. yes after reviewing everything that would seem to be the best way to go for me. am i on the right track thinking i could write a foundation tool maybe using fsevents to screen the changes of a directory and then if necessary pass along the info and/or launch my main app? if so i'll probably go that route. thank you for all the advice. i've been trying to read up as much as i can since it's the first time i'm doing a background process.
rick
________________________________
From: Jerry Krinock <email@hidden>
To: cocoa-dev <email@hidden>
Sent: Wednesday, June 17, 2009 11:56:10 PM
Subject: Re: advice on background process
On 2009 Jun 17, at 05:58, Rick C. wrote:
> the launchd task can tell me if there was a change but it seems there's no way to find out what that change was right?
Yes.
> it seems i could use this to launch my app but then if i have no way to screen what the changes might be then i would have to launch my app every time there's a change to see what it is.
Well, maybe you still want two executables then. But you could launch a small tool to "screen changes". Simpler than one that must watch for changes and run 24/7.
_______________________________________________
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