Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. @echo off
  2. echo -------------------------------------------------------------------
  3. echo Simple script to restart your miner software after a period of time
  4. echo -------------------------------------------------------------------
  5. echo:
  6.  
  7. set executable=ccminer-x64.exe
  8. set commandline=--algo=scrypt:10 -o stratum+tcp://pool.grlc-bakery.fun:3333 -u YOURADDRESSHERE -listen --max-temp=85
  9. set runforseconds=1200
  10. set restartinseconds=10
  11. set /a counter=0
  12.  
  13. :start
  14. start "Miner Window" %executable% %commandline%
  15. echo:
  16. echo The software will run for %runforseconds% seconds
  17. timeout %runforseconds%
  18. taskkill /f /im %executable%
  19. echo:
  20. echo Restarting the software in %restartinseconds% seconds (%counter%)
  21. timeout %restartinseconds%
  22. set /a counter+=1
  23. echo:
  24. echo:
  25. goto start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement