Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 4.1c: fastest Ethereum/Ethash miner with lowest devfee (Win/Linux)
by
smparo
on 24/02/2019, 06:55:39 UTC
Hi.
How to make mining software restart after it crashes?
After update to newest phoenixminer with turbo kernerls it crashes more often. I think it is because I only have 120gb ssd. When u combine 13x radeon 580 8gb gpu if requires 99% disk space making the software to crash a few times a week.

On Windows you can monitor every X minutes with a scheduled task if phoenix is running as windows process, my code:

Code:
echo Check mining process...
SETLOCAL EnableExtensions
set EXE=PhoenixMiner.exe

FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto FOUND
echo The process is not running, starting it!
start /D "C:\Insert_your_path\PhoenixMiner_4.1c" ETH.bat

ping 127.0.0.1 -n 5 > nul
goto END

:FOUND
echo The process is running
ping 127.0.0.1 -n 1 > nul
goto QUIT

:END
ping 127.0.0.1 -n 2 > nul

:QUIT
exit

On start line corret path with your and change "ETH.bat" with your one.
On my case I run the process every 5 minutes