Re: Scheduled command execution
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