Skip to content

Instantly share code, notes, and snippets.

@marsmensch
Created January 7, 2019 11:19
Show Gist options
  • Save marsmensch/28b720f275eddb80a46f69c3de892710 to your computer and use it in GitHub Desktop.
Save marsmensch/28b720f275eddb80a46f69c3de892710 to your computer and use it in GitHub Desktop.
A windows batch file example to mine veil on suprnova
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
@echo off
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
echo Simple script to restart your miner software after a period of time
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
echo:
set executable=ccminer.exe
set commandline=-a x16rt -o stratum+tcp://veil.suprnova.cc:7220 -u Weblogin.Worker -p Worker password
set runforseconds=80000
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 /IM %executable% /F
echo:
echo Restarting the software in %restartinseconds% seconds (%counter%)
timeout %restartinseconds%
set /a counter+=1
echo:
echo:
goto start
miner.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment