When I use option :
-r Restart miner mode. "-r 0" (default) - restart miner if something wrong with GPU. "-r -1" - disable automatic restarting. -r >20 - restart miner if something
wrong with GPU or by timer. For example, "-r 60" - restart miner every hour or when some GPU failed.
"-r 1" closes miner and execute "reboot.bat" file ("reboot.bash" or "reboot.sh" for Linux version) in the miner directory (if exists) if some GPU failed.
So you can create "reboot.bat" file and perform some actions, for example, reboot system if you put this line there: "shutdown /r /t 5 /f".
my miner says, that it can not find the reboot.bat, but reboot.bat is in miner directory?
Did someone have idea?
Your batch file is probably being run from another directory. So the system is looking for the batch file in the directory you're calling the batch file from, not the directory where the reboot.bat exists.
Make sure in your batch file before the line where you run EthDcrMiner64.exe you change to the right directory. For example your batch file might look something like this instead:
cd I:\crypto\Claymore\v7-beta
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
EthDcrMiner64.exe
Notice my first two lines. I change to my I drive on this computer. Yours may be on C so you don't need to change.
Then I change to the folder where I installed Claymore.
Then I run the regular batch file commands.
If you do it this way your -r command will work even if your batch file isn't in the same folder as Claymore.
Hi, Now I Understand Thank you, I will try.