• 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: Scheduling an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Scheduling an application (From: rethish <email@hidden>)
 >Re: Scheduling an application (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Detecting when fetch: finishes
  • Next by Date: Re: Referring to file by Alias ^or^ path
  • Previous by thread: Re: Scheduling an application
  • Next by thread: Re: Scheduling an application
  • Index(es):
    • Date
    • Thread