Author

Topic: in windows 7 how to kill guiminer and start again every half hour? (Read 2818 times)

hero member
Activity: 532
Merit: 500
Delete system 32!
full member
Activity: 168
Merit: 100
You really shouldnt want to do this.
Quote
Insert Quote
@ECHO OFF
set PING=PING 1.1.1.1 -n 1 -w 1800
:start
taskill /f /im GUIminer.exe > nul
%PING% > nul
start /d GUIminer.exe
%PING% > nul
goto :start


next step.. how do you start guiminer and have it actually start your miner as well.

There is an autostart setting in GUI miner.
So, the above code should work. It will operate in an endless loop until you manually close it.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
in windows 7 how to kill guiminer and start again every half hour?

thanks

just to avoid the hanging for whatever reason

A more in-depth instruction set(there were 6 posts while I wrote this but I hope it stills helps)

I ran into the same problem and ended up using a combination of task scheduler and a .bat file to do it.

Step 1: Writing the .bat file.

1-a: To write a .bat file you need to have file extensions enabled.  You can enable file extensions by going to the view tab of folder options(If you can't find folder options just search it) and deselecting the hide known file extensions check box.

1-b: Now go to My documents, create a notepad file, and put this code in it.
Code:
@ping 127.0.0.1 -n 5 -w 1000> nul

rem ---------------use the line below this to set the path--------------
cd "C:\guiminer"

Taskkill /F /IM guiminer.exe /T

start guiminer.exe
Then adjust the path to the location of your guiminer file(make sure it's set to the FILE which contains the application DO NOT set the path to the application)

1-c: Then save the file and go back to My documents.  Locate the file and change the name and extension to guiminer-restart.bat

Step 2: Setting up task scheduler

2-a: To find task scheduler just search it.  Once you have it open select create a task.

2-b: Task scheduler is fairly self-explanatory you just have to set the task to run every half-hour after start-up in the trigger and run the .bat file as the action.

2-c: Task scheduler has also has quite a few options which are not mandatory take a few minutes to see if you want to use any of them.

Once you've done this just restart your computer and guiminer should start upon boot and restart every half-hour.  If you have any questions let me know and I will do the best I can to help you.
donator
Activity: 2352
Merit: 1060
between a rock and a block!
final step, use Task manager to create a task that runs every 30 mins and tell the task manager to execute resetphoenix.bat

Think he meant "Task scheduler"

Yeah! thanks, edited.
donator
Activity: 1731
Merit: 1008
final step, use Task manager to create a task that runs every 30 mins and tell the task manager to execute resetphoenix.bat

Think he meant "Task scheduler"
donator
Activity: 2352
Merit: 1060
between a rock and a block!
run your miners via a command line (i.e. create a batch file) using phoenix.exe or another one...

create a batch file, say start1.bat:

:start
cd C:\Temp\guiminer\
RunFirst.exe "phoenix.exe -u http://[email protected]:8332 PLATFORM=0 DEVICE=0 VECTORS BFI_INT WORKSIZE=256 FASTLOOP=false AGGRESSION=12 -k phatk"
goto start

replace above paths/parameters with what you need.  If you have more that one core proccessor, download that runfirst.exe to have your miners run on 1 core only, otherwise take it out of the batch file.

create a batch file resetphoenix.bat:
Taskkill /IM phoenix.exe /F

final step, use Task Scheduler to create a task that runs every 30 mins and tell the task scheduler to execute resetphoenix.bat
sr. member
Activity: 476
Merit: 250
moOo
You really shouldnt want to do this.
Quote
Insert Quote
@ECHO OFF
set PING=PING 1.1.1.1 -n 1 -w 1800
:start
taskill /f /im GUIminer.exe > nul
%PING% > nul
start /d GUIminer.exe
%PING% > nul
goto :start


next step.. how do you start guiminer and have it actually start your miner as well.
full member
Activity: 168
Merit: 100
@ECHO OFF
set PING=PING 1.1.1.1 -n 1 -w 1800
:start
taskill /f /im GUIminer.exe > nul
%PING% > nul
start /d GUIminer.exe
%PING% > nul
goto :start
hero member
Activity: 886
Merit: 500
The temperature changes from idle to 100% would be dramatic enough to shorten the life of your card, ifi that's what you're worried about. Just leave it runnint 24/7, it will be better for the components.
member
Activity: 84
Merit: 10
just to avoid the hanging for whatever reason

Try CGMiner... https://bitcointalksearch.org/topic/official-cgminer-mining-software-thread-for-linuxwinosxmipsarmr-pi-4110-28402  It automatically restarts dead threads and supports multiple failover mode (switches pools when your main one gets DDoSed).  I'm a big fan.  It has given me better performance and up-time than any other miner I've tried thus far.

And on the issue of letting the cards rest, I'm with MaGNeT on that one.  Run 'em 24/7/365 if you can.  Ideally, you would never have to touch your mining rig once it gets started.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
by the way, is it necessary to let let the graphics card rest for half hour everyday at least within 24 hours? maybe that can be incorporated in too?

The best thing for a GPU is to keep it at a stable temperature.
Cooling of and warming up shortens the life of electronics.
full member
Activity: 160
Merit: 100
by the way, is it necessary to let let the graphics card rest for half hour everyday at least within 24 hours? maybe that can be incorporated in too?
full member
Activity: 160
Merit: 100
in windows 7 how to kill guiminer and start again every half hour?

thanks

just to avoid the hanging for whatever reason
Jump to: