« Return to Thread: launchd question

launchd question

by huntc :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
MacOSX-admin mailing list
MacOSX-admin@...
http://www.omnigroup.com/mailman/listinfo/macosx-admin

 « Return to Thread: launchd question