Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Kostelooscoin on February 12, 2021, 04:23:09 PM



Title: batch windows for vanity search
Post by: Kostelooscoin on February 12, 2021, 04:23:09 PM
hello I would like to know if it is possible to build a windows batch that would allow to launch vanitysearch for 30 seconds and then kill it to restart it again?
Code:
loop
vanitysearch.exe -gpu -t 4 -s 0 -o 1.txt 1EcxJA
wait 30 seconds
kill
vanitysearch.exe -gpu -t 4 -s 00 -o 1.txt 1EcxJA
/loop
thanks you very much


Title: Re: batch windows for vanity search
Post by: WanderingPhilospher on February 12, 2021, 05:11:10 PM
Here you go:

Code:

:while1
start /min 1vanitysearch.exe -gpu -t 4 -s 0 -o 1.txt 1EcxJA
timeout /t 30 /nobreak
taskkill /im 1vanitysearch.exe /f
timeout /t 1 /nobreak

goto :while1




Title: Re: batch windows for vanity search
Post by: Kostelooscoin on February 12, 2021, 06:10:11 PM
thank you very much  ;D