Re: Launch agent issue
Re: Launch agent issue
- Subject: Re: Launch agent issue
- From: Robert Poland <email@hidden>
- Date: Sat, 17 Jan 2015 05:47:31 -0700
> On Jan 15, 2015, at 9:27:AM, Axel Luttgens <email@hidden> wrote:
>
>
> Le 15 janv. 2015 à 15:10, Robert Poland a écrit :
>
>> [...]
>> I have a launch agent (below) that has quit and I see no reason for it.
> Hello Robert,
>
> What exactly do you mean by "that has quit”?
It appears that all the "Macintosh HD/Users/rpoland/Library/LaunchAgents/.plists“ no longer function.
> That it used to be running and that it has suddenly quit?
> Or that you never managed to having it running as expected?
> Or…?
These Launch Agents have worked for years, now they don’t.
> More generally, could you describe what you are trying to achieve?
For example the plist below should run the enclosed Applescript at 5:30 AM.
> The Script addressed works when run by it’s self.
>> I have unloaded and loaded it.
>> A "launchctl list" command shows it is active.
>>
>> Help would be appreciated.
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
>> <plist version="1.0">
>
> Where exactly have you put that plist?
See above.
> <dict>
>> <key>Label</key>
>> <string>com.rpoland.MorningStartup</string>
>> <key>Program</key>
>> <string>/bin/sh</string>
>> <key>ProgramArguments</key>
>> <array>
>> <string>sh</string>
>> <string>-c</string>
>> <string>/usr/bin/osascript /Library/Scripts/Universal\ Scripts/MorningStartUp.app</string>
>
> Is /MorningStartUp.app an executable file (with a somewhat erroneous .app extension then) or an application?
>
>
>> [...]
>> </dict>
>> </plist>
>
> Axel
Robert Poland
Fort Collins CO
_______________________________________________
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