Post
Topic
Board Beginners & Help
Re: Bincoin miner as a windows service
by
btcdeep
on 29/08/2012, 15:50:35 UTC
(sorry for resurrecting and old thread, but this is one that I keep running into doing searches on the topic)

So, have people had success in getting scheduled tasks to start miners? I've been having the damnedest time. I love Redemption.man's batch file example and it works great when running it manually, but as any sort of scheduled task I can never get any mining to actually take place. When using a scheduled task, I can see that the miner starts, but upon checking GPU load I can see that no mining is taking place.  I am using poclbm, but will use any miner that works better with scheduled tasks if anybody can point me in the right direction. Here's the batch I run (run.vbs is commands to launch a given prompt hidden and run.bat is the commands to run poclbm username/password/flags)

Code:
tasklist /FI "IMAGENAME eq poclbm.exe" 2>NUL | find /I /N "poclbm.exe">NUL
if "%ERRORLEVEL%"=="0" GOTO end

wscript "c:\xyz\run.vbs" "c:\xyz\run.bat"

:end
edit: running Windows 7 x64, by the way.