• 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: [NewB] calling shell from ObjC within a PreferencesPane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NewB] calling shell from ObjC within a PreferencesPane


  • Subject: Re: [NewB] calling shell from ObjC within a PreferencesPane
  • From: Yvon Thoraval <email@hidden>
  • Date: Tue, 31 Oct 2006 15:47:05 +0100


Le 31 oct. 06 à 14:59, Sherm Pendley a écrit :

NSTask

also i will have to open a window for the user to authentificate

No you won't - the authentication framework will pop up a window automatically if needed. See:


<http://developer.apple.com/documentation/Security/Conceptual/ authorization_concepts/index.html>
<http://developer.apple.com/documentation/Security/Reference/ authorization_ref/index.html>

fine thanks.


this server as process to be put in daily crontab
---------------------^- i do have forgotten an "h" here ...
I thought you said it was a daemon? Make up your mind.

yes their is daemon BUT in order to expire old posts leafnode (the daemon) has another bin called "texpire" which as to be run, as default value, once a day.




, i know how to use the crontab under shell but how from ObjC.

There's no programmatic API that I know of. Just use NSTask to run the shell command.

ok i'll see with "NSTask"


thanks again,

best

Yvon _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >[NewB] calling shell from ObjC within a PreferencesPane (From: Yvon Thoraval <email@hidden>)
 >Re: [NewB] calling shell from ObjC within a PreferencesPane (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Open my Application via safari
  • Next by Date: Re: Creator Code for Packages
  • Previous by thread: Re: [NewB] calling shell from ObjC within a PreferencesPane
  • Next by thread: Customizing NSMenuItem
  • Index(es):
    • Date
    • Thread