Re: Scheduling an application
Re: Scheduling an application
- Subject: Re: Scheduling an application
- From: Jerry Krinock <email@hidden>
- Date: Wed, 3 Jun 2009 18:37:44 -0700
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 (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