Estoy escribiendo mi primer plist de launchd. Cuando intento cargarlo con el comando siguiente:
$ launchctl load com.Test01.plist
launchctl: no plist was returned for: com.Test01.plist nothing found to load
Plist debe para ejecutar un comando de shell que escribe la fecha en un archivo. Sigue el archivo plist. Es en ~/Library/LaunchdAgents
.
El hardware es un MacBook Air 11 corriendo OS X 10.8.4 gracias por cualquier comentario.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Aple//DTD PLIST 1.0//EN">
<plist version="1.0">
<dict>
<key>label</key>
<string>com.Test01</string>
<key>ProgramArguments</key>
<array>
<string>/Users/cae/scripts/testcron.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>Nice</key>
<integer>1</integer>
<key>StartInterval</key>
<integer>60</integer>
<key>StandardErrorPath</key>
<string>/Users/cae/tmp/Test01.err</string>
<key>StandardOutPath</key>
<string>/Users/cae/tmp/Test01.out</string>
</dict>
</plist>