• 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: Scheduled command execution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduled command execution


  • Subject: Re: Scheduled command execution
  • From: "Paolo Manna" <email@hidden>
  • Date: Sun, 22 Jul 2007 08:47:48 +0100

I have developed an application which needs to be run periodically in the background.
I would like it however to still interact with the desktop for notifications and application
such as growl. Initially I was hoping to be able to use cron. Cron executes the
application but does not provide access to desktop notifications.

Actually, in 10.4 the preferred way to have periodic jobs is launchd, see references below:

http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/Daemons.html#//apple_ref/doc/uid/TP40001761-SW1
http://developer.apple.com/macosx/launchd.html

I'm not aware (but I'm just looking at docs, so I could be wrong) of
limitations for programs launched this way regarding the use of
Foundation, so you should be able to have a command line tool access
the notification system.

HTH
Paolo
_______________________________________________

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


  • Follow-Ups:
    • Re: Scheduled command execution
      • From: Uli Kusterer <email@hidden>
    • Re: Scheduled command execution
      • From: ∞ <email@hidden>
  • Prev by Date: Re: Quickest Drawing Method
  • Next by Date: ASScriptMenuManager
  • Previous by thread: Re: Scheduled command execution
  • Next by thread: Re: Scheduled command execution
  • Index(es):
    • Date
    • Thread