Page 1 of 1

How to send command line instructions in version 8?

Posted: Mon Jan 20, 2025 3:05 am
by Schrödinger's cat
My apologies if this has been answered before.

Has the ability to send command line instructions to FAHClient been removed in version 8?

If not, what's the required syntax to send pause, unpause and finish instructions?

Re: How to send command line instructions in version 8?

Posted: Mon Jan 20, 2025 3:42 am
by calxalot
Except for Windows, there is a script fahctl installed. For Windows you can manually install it from the repo
https://github.com/FoldingAtHome/fah-cl ... pts/fahctl

There is also my utility
https://github.com/kbernhagen/lufah

Re: How to send command line instructions in version 8?

Posted: Fri Feb 07, 2025 12:35 am
by dbear011
For basic Windows command line control, download the Python3 fahctl script at
https://github.com/FoldingAtHome/fah-cl ... pts/fahctl .

You need Python3 installed on the system. The "fahctl" script requires the python3-websocket library. It can be installed with the command pip install websocket-client . Pip may (will?) install the library to a local AppData folder. If so, read the message from Pip and add the Python LocalCache folder shown to the PATH environmental variable.

Assuming the fahctl script was downloaded to the Downloads directory, you can verify its installation with the command python3 %USERPROFILE%\Downloads\fahctl -h .
See the status of the client with the command python3 %USERPROFILE%\Downloads\fahctl status .

To mirror the operation of the script on Linux and MACos systems, wrap the Python command in a Windows command file. Put the following file in a folder referenced by the PATH environmental variable. Name it fahctl.cmd

Code: Select all

python3 %USERPROFILE%\Downloads\fahctl %*
After this, you can fahctl -h .