Lingon and Folding At home
LuKreme
kremels at kreme.com
Wed Nov 22 16:11:54 PST 2006
I'v tried to create a launchd item (using lingon) to startup F at H.
This is the xml that is generated.
<?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>Label</key>
<string>Flodding</string>
<key>LowPriorityIO</key>
<false/>
<key>Nice</key>
<integer>0</integer>
<key>ProgramArguments</key>
<array>
<string>cd /Users/kreme/Library/Folding\@Home</string>
<string>/usr/local/bin/fah5-local -forceasm -advmethods -verbose 9</
string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Startup Folding at Home</string>
</dict>
</plist>
The trouble is, I can't seem to START the User Agent, and after
fiddling with the command line and launchtl I think the issue is the
cd command:
when I try to load it from the command line, I get this:
$ launchctl load /Library/LaunchAgents/Flodding.plist
$ launchd[900]: Flodding: execvp("cd /Users/kreme/Library/Folding
\@Home", ...): No such file or directory
launchd[899]: Flodding: execve(): No such file or directory
But the directory DOES exist
cirin ~ $ ls -ls /Users/kreme/Library/Folding\@Home/
total 6728
32 -rw-r--r-- 1 kreme kreme 13418 Nov 22 16:59 FAHlog.txt
6528 -rwxr-x--- 1 kreme kreme 3340956 Nov 21 13:53 FahCore_a1.exe
8 -rw-r--r-- 1 kreme kreme 1488 Nov 21 13:53 MyFolding.html
8 -rwxr-x--- 1 kreme kreme 117 Nov 21 13:53 client.cfg
8 -rw-r--r-- 1 kreme kreme 8 Nov 21 13:53
machinedependent.dat
120 -rwxr-xr-x 1 kreme kreme 60156 Nov 21 13:52 mpiexec
16 -rw-r--r-- 1 kreme kreme 7168 Nov 21 13:53 queue.dat
8 -rw-r--r-- 1 kreme kreme 153 Nov 22 16:54 unitinfo.txt
0 drwxr-x--- 22 kreme kreme 748 Nov 22 16:59 work
(I get the same result if I try it without the \ escape on the @, or
if I try
<string>cd "/Users/kreme/Library/Folding at Home"</string>
--
Passion is the pill you can swallow forever
Taking them one by one
One by One
Agents of Good Roots "Come On"
More information about the MacOSX-talk
mailing list