How to send command line instructions in version 8?

Moderators: Site Moderators, FAHC Science Team

Post Reply
ETA_2025
Posts: 92
Joined: Mon Jan 30, 2023 10:43 am
Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM
Location: VIC, Australia

How to send command line instructions in version 8?

Post by ETA_2025 »

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?
Image
calxalot
Site Moderator
Posts: 1279
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

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

Post 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
dbear011
Posts: 2
Joined: Thu Apr 16, 2020 12:23 am

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

Post 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 .
Post Reply