Re: Service without Icon or Window?
Re: Service without Icon or Window?
- Subject: Re: Service without Icon or Window?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 15 Jun 2010 15:56:56 -0700
On Tue, Jun 15, 2010 at 2:56 PM, Lightning Duck <email@hidden> wrote:
> I need to make an application that runs a bit as a 'service' if you will. Not in the sense of running from the "Services" menu but something the tuns continually in the background with an Icon in the Dock or a Window of it's own, that monitors when files are added or removed from a directory
What you want to do is called either a "daemon" or an "agent." There
is a technote that explains the difference, and is required reading if
you want to implement anything of the sort:
http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html
> So basically I have two requirements
>
> Monitor the contents of a directory
You can do this with a launchd job that watches a set of paths.
--Kyle Sluder
_______________________________________________
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