• 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: Question about SMJobBless
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about SMJobBless


  • Subject: Re: Question about SMJobBless
  • From: Eric Gorr <email@hidden>
  • Date: Fri, 30 Sep 2011 13:53:14 -0400

That's interesting.

So, how would one go about checking to see whether or not SMJobBless needed to be called?

I suppose one would need to check the version number of the installed job vs. the one in the application package.

I also suppose one would also try to connect with the helper tool and, if that fails, then call SMJobBless.



On Sep 30, 2011, at 1:40 PM, Kyle Sluder wrote:

> On Sep 30, 2011, at 10:05 AM, Eric Gorr <email@hidden> wrote:
>
>> On Sep 30, 2011, at 1:00 PM, Jean-Daniel Dupas wrote:
>>
>>> As I understand it, you have to bless the job only once, not at each launch, so you shouldn't have to request the authorization each time.
>>
>> It would be interesting if that is how it actually works, but I am quite certain it doesn't work that way.
>
> It does. SMJobBless submits a blessed plist to launchd. It does not do one-off jobs. You use once it to install a privileged launchd task that you can talk to in the future.
>
> --Kyle Sluder

_______________________________________________

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

  • Follow-Ups:
    • Re: Question about SMJobBless
      • From: Eric Gorr <email@hidden>
References: 
 >Question about SMJobBless (From: Eric Gorr <email@hidden>)
 >Re: Question about SMJobBless (From: Eric Gorr <email@hidden>)
 >Re: Question about SMJobBless (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Question about SMJobBless (From: Eric Gorr <email@hidden>)
 >Re: Question about SMJobBless (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Question about SMJobBless (From: Eric Gorr <email@hidden>)
 >Re: Question about SMJobBless (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Question about SMJobBless
  • Next by Date: Re: Window Display
  • Previous by thread: Re: Question about SMJobBless
  • Next by thread: Re: Question about SMJobBless
  • Index(es):
    • Date
    • Thread