Just fyi- I've updated (and tested) the shell script that I use to start folding from the crontab.
It's updated on the page I referenced.
Now you just open a terminal and type-
touch /tmp/stopfold
and within one minute it will stop (assuming the crontab is set to go every minute)
rm /tmp/stopfold
and she fires back up again.
-=-
Funny story-
Yes, I tested this on OS X.
But first I tested it on my linux box.
Initially I had kill line as such-
for a in `ps -waux |grep "$client" |grep -v grep |awk '{print $2}'`; do
kill -9 $a
done;
I touched the file.
gui froze, dead froze, top showed one minute ahead of my panel clock.
I couldn't do jack. No kbd, no mouse.
ssh'd in, that worked (as expected- this is linux)
Went to kill X11
X wasn't running!
rebooted.
In the console (no X running) I tested again.
minute came up- and it logged me out (but nothing froze)
$looked at my mail.
cron complained that it didn't have permission to kill a crapload of files.
grep "$client" wasn't such a good idea-
$client contained dots ( . ) that weren't escaped, and that affected grep.
Damn I'm glad the script wasn't running as root!
fsck takes forever on a dirty system halt
Anyway, I fixed it.
It greps for FAH2Console (and then Core_65\.exe) killing folding perfectly.
Killing folding
AND ONLY folding