Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. echo off
  2. echo -------------------------------------------------------------------
  3. echo Restart Script
  4. echo -------------------------------------------------------------------
  5. echo:
  6. set executable=ccminer-x64.exe
  7. set commandline=-a x16r -o stratum+tcp://rvn.suprnova.cc:6667 -u user.rigname -p password x -f 256
  8. set runforseconds=1200
  9. set restartinseconds=10
  10. set /a counter=0
  11. :start
  12. start "RavenCoin" %executable% %commandline%
  13. echo:
  14. echo The software will run for %runforseconds% seconds
  15. timeout %runforseconds%
  16. taskkill /f /im %executable%
  17. echo:
  18. echo Restarting the software in %restartinseconds% seconds (%counter%)
  19. timeout %restartinseconds%
  20. set /a counter+=1
  21. echo:
  22. echo:
  23. goto start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement