Re: Folder watching
Re: Folder watching
- Subject: Re: Folder watching
- From: Jerry Krinock <email@hidden>
- Date: Tue, 10 Feb 2009 11:02:09 -0800
On 2009 Feb 10, at 07:30, Mark Woods wrote:
I'm creating an application that watches certain folders for new
files, and then performs various tasks on these files. I'm
developing it as a Foundation Tool that will run in the background.
Well, kqueue would work, but launchd can watch directories for you and
^launch^ your app when a file is added. Read this...
http://developer.apple.com/macosx/launchd.html
Maintaining a background app running 24/7 requires infrastructure
which is nice to avoid.
_______________________________________________
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