Re: Scheduled command execution
Re: Scheduled command execution
- Subject: Re: Scheduled command execution
- From: ∞ <email@hidden>
- Date: Sun, 22 Jul 2007 09:09:44 +0200
Il giorno 22/lug/07, alle ore 02:50, Alexander Hartner ha scritto:
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.
Cocoa does not provide facilities for this. You can:
- develop a daemon with a desktop agent, or
- use CFUserNotification in your daemon from Core Foundation. It is
made expressly for off-console (root) daemons that want to
communicate with the user via alerts.
http://developer.apple.com/documentation/CoreFoundation/Reference/
CFUserNotificationRef/Reference/reference.html
Also look at the TN: http://developer.apple.com/technotes/tn2005/
tn2083.html -- it contains useful information for what you are trying
to accomplish.
- ∞_______________________________________________
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