Open danjylon opened 3 years ago
In windows just search for the process in Task Manager
On Linux you can kill it like this for example: sudo pkill cpuminer
It doesn't work. When I set background true in config.json, the miner restart automaticly after I stop it in task manager. That's why I ask here.
Even taskkill command in cmd can't help.
On Windows the script is looping over. So you might want to close batch script. Maybe try editing config.json without background and kill process?
Tried and falied,I can‘t stop it in any way except restarting the computer.
If you want to run miner in the background, it might be a good idea to remove looping fragment from cpuminer.bat.
Try to remove line 251 goto StartMiner
Yeah, that can help, thanks very much!
Removing goto StartMiner from the bat file would help for future runs but if you're already stuck running it stop trying to kill the cpuminer process and look for cmd.exe. Kill that instead.
You need to kill Windows Command Processor BEFORE you kill cpuminer-sse42.exe
Windows Command Processor is the batch file you initially run which is why it keeps restarting it, because that's what initially keeps starting the actual executable.
How to stop the miner when it's running in the background?