Script FAHClient on macOS

Moderators: Site Moderators, FAHC Science Team

Post Reply
earthsaver
Posts: 26
Joined: Fri Feb 08, 2008 6:05 pm

Script FAHClient on macOS

Post by earthsaver »

I was previously using lufah to script FAHClient to pause or resume folding around processor intensive operations like backups. It looks like a recent release deprecated this functionality and I see mention of a built-in fahctl command instead. However, I haven't been able to get this to work on my Mac.

Is there some additional setup I need to do for this level of shell scripting? If I run the command <fahctl pause>, I get this error:

Connection to remote host was lost.: ws://127.0.0.1:7396/api/websocket
- Ben
M1 iMac
calxalot
Site Moderator
Posts: 1600
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Script FAHClient on macOS

Post by calxalot »

The only thing deliberately removed from lufah was support for resource groups with fah 8.1.

If you’re running a bleeding edge build of fah, you temporarily need to remove fah-web-control if present. Or whatever is pointed to by option web-root.
calxalot
Site Moderator
Posts: 1600
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Script FAHClient on macOS

Post by calxalot »

fahctl only requires python 3.6+ and module websocket-client
Post Reply