Post
Topic
Board Mining software (miners)
Re: Start and stop mining under 10sec - model and programs?
by
Biffa
on 11/01/2024, 16:34:57 UTC
I think he just wants to stop and resume mining without shutting down or turning off the miner itself.

There is or was a command line tool which I think Avalon added to the cgminer codebase called "cgminer-api" which you could then run api commands against an running instance of cgminer, and as long as you had your config file setup with the API access turned on you could then tell it to stop, start, pause, change pool etc, using the standard Cgminer commands.

Its even listed in Linux but you have to install cgminer through apt to get it.

Code:
Command 'cgminer-api' not found, but can be installed with:

sudo apt install cgminer

Dunno what that does to any existing cgminer you have running on that machine but if you are installing it on a separate box that you will use to control your miner or miners then it should be ok.

I don't know the codebase or anything so YMMV kano might know something about the command line app itself.