Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo -------------------------------------------------------------------
- echo Simple script to restart your miner software after a period of time
- echo -------------------------------------------------------------------
- echo:
- set executable=ccminer-x64.exe
- set commandline=--algo=scrypt:10 -o stratum+tcp://pool.grlc-bakery.fun:3333 -u YOURADDRESSHERE -listen --max-temp=85
- set runforseconds=1200
- set restartinseconds=10
- set /a counter=0
- :start
- start "Miner Window" %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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement