• 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: cron/Launchd Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cron/Launchd Editor


  • Subject: Re: cron/Launchd Editor
  • From: Philip Aker <email@hidden>
  • Date: Thu, 17 Sep 2009 19:50:57 -0700

On 2009-09-17, at 18:55:36, Tom Robinson wrote:

On 2009-09-18, at 08:27, Robert Poland wrote:

<key>Program</key>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</ string>
</array>

What's playMantelSound (shell script? AppleScript?) and why does it pass a parameter of itself to itself?

He's created his plist with some utility. It's looks like it's trying to follow the guidelines but doesn't have it quite right. The parameters are the same as those for <x-man-page://3/execvp> as transcribed for the launchd property list XML format. So the Program should contain the full path to the tool, but the first ProgramArgument should contain only the name of the tool.


It does seem kind of odd not to see a .scpt or .scptd extension, but that's a user preference. However if he's just hiding the extension rather than omitting it entirely, then that will be a problem as well (and possibly the cause of the error he reported previously).


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: cron/Launchd Editor
      • From: Robert Poland <email@hidden>
References: 
 >cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Tom Robinson <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 6, Issue 468
  • Next by Date: Re: cron/Launchd Editor
  • Previous by thread: Re: cron/Launchd Editor
  • Next by thread: Re: cron/Launchd Editor
  • Index(es):
    • Date
    • Thread