launchd question

Christopher Hunt huntc at internode.on.net
Tue Feb 27 12:45:22 PST 2007


Hi there,

I've got a problematic launchd plist and I was wondering if someone  
could help. I'm trying to execute osascript -e <command> via launchd  
and it reports an error (an abort) in the system.log file. More  
specifically:

launchd[4108]: com.classactionpl.restartvision: exited abnormally:  
Abort trap

Here's the plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// 
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Debug</key>
	<true/>
	<key>Label</key>
	<string>com.classactionpl.restartvision</string>
	<key>OnDemand</key>
	<true/>
	<key>ProgramArguments</key>
	<array>
		<string>osascript</string>
		<string>-e</string>
		<string>tell application "World" to quit</string>
	</array>
	<key>StartCalendarInterval</key>
	<dict>
		<key>Hour</key>
		<integer>0</integer>
		<key>Minute</key>
		<integer>0</integer>
	</dict>
</dict>
</plist>

Debug etc. doesn't yield more info.

Any ideas?

Cheers,
-C


More information about the MacOSX-admin mailing list