I have been doing some scripting to help control my mines a little more effectively, but I seem to be unable to find the simple command to stop cgminer from mining (analogous to clicking "Stop CGMiner" from the OpenWRT GUI). Currently running version 4.0.10

I have attempted variations on cgminer and cgminer-api, including --sched-start and --sched-stop without parameters (as indicated by the documentation).

When I run pkill cgminer * it does indeed kill the mining, but then it seems to just boot cycle cgminer and not actually stop cgminer.

Anyways, very simple ask. This is a lot more difficult to find than I thought it would be, given I have successfully scripted many other things in cg that are more complicated, haha.


Running the command /etc/init.d/cgminer stop seems to kill cgminer. But again, it automatically restarts shortly afterwards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.