@echo off
echo -------------------------------------------------------------------
echo Simple script to restart your miner software after a period of time
echo -------------------------------------------------------------------
echo:
set executable=ethminer.exe
set commandline= -F http://pooladdress -G
set runforseconds=9000
set restartinseconds=10
set /a counter=0
timeout 15
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_HEAP_SIZE 100
:start
start "ETHMiner" %executable% %commandline%
echo:
echo The software will run for %runforseconds% seconds
timeout %runforseconds%
taskkill /f /im %executable%
echo:
echo Restarting the software in %restartinseconds% seconds (%counter%)
timeout %restartinseconds%
set /a counter+=1
echo:
echo:
goto start
ca c'est la ligne de commande pour restart apres 9000s sur eth miner
reste plus qua traduire pour celui la