• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Folder watching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Folder watching (From: Mark Woods <email@hidden>)

  • Prev by Date: Re: Possible to change value transformer for binding at runtime?
  • Next by Date: Re: Transparent image
  • Previous by thread: Re: Folder watching
  • Next by thread: Possible to change value transformer for binding at runtime?
  • Index(es):
    • Date
    • Thread