Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 3.0c: fastest Ethereum/Ethash miner with lowest devfee (Windows)
by
Stihlus
on 01/08/2018, 13:00:51 UTC
Hi,
have maybe someone .bat file for automatic relaunch PM if miner crashed or stopped working?


Just a few minutes to take a look on the first post and you will find out. It's that simple...

I saw this

-rmode Selects the restart mode when a GPU crashes or freezes:
     0: disabled - miner will shut down instead of restarting
     1: restart with the same command line options - this is the default
     2: reboot (shut down miner and execute reboot.bat)

but when I download PM not include reboot.bat file.

You can just copy your start_miner.bat and rename it to reboot.bat. Same parameters Smiley

Ok I will try this advice, I hope to will be working this Smiley
4play,

If you want to restart your rig you should use -rmode 2 and to create a reboot.bat file and put this line command "shutdown /r /t 5 /f".
Also, you need to disable windows error reporting, if you search a few posts / pages back (page 115, post #2291) you will find some links and a bat file for tweaks.

Regards

This is my reboot file

Code:
REM
REM Example bat file for starting PhoenixMiner.exe to mine ETH
REM
shutdown /r /t 5 /f
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100

REM IMPORTANT: Replace the ETH address with your own ETH wallet address in the -wal option (Rig001 is the name of the rig)
PhoenixMiner.exe -pool eth-eu1.nanopool.org:9999 -pool2 eth-eu2.nanopool.org:9999 -ewal ethadress.rig01/mymail@gmail.com -epsw x -ftime 10 -rmode 2 -lidag 2 -wdog 1 -nvidia
pause

I hope to this correct
It's enough if you put only "shutdown /r /t 5 /f" command (without comma) in your reboot.bat file (and of course...to have your reboot.bat file in the same directory with miner files and again....disable windows error reporting). You can test if you want ... try to OC a GPU a little bit more just to have an error.