On 2009 Jun 03, at 08:48, Nick Zitzmann wrote:

On Jun 3, 2009, at 3:52 AM, rethish wrote:

I want the plist to be loaded automatically on the specified time and launch
my application.

Automatic plist loading only happens on reboot (if it's in the system library) or login (if it's in the user's library). You'll have to load it manually if you don't want to inconvenience the user.

It's a shame that there seems to be no library function equivalent to the command /bin/launchctl/.

After I installing a new launchd task, I load it using /bin/launchctl/ via an NSTask. I presume this is what Nick means by "You ... load it manually".

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to