Author

Topic: batch file - automatic restart of CGminer (Read 6798 times)

sr. member
Activity: 448
Merit: 250
June 23, 2014, 08:59:47 AM
#5
I CGminer users.
when it was running my PC directly stuck and can not work anymore, when I restart the new normal,
where lies the problem, if my PC is error?
I use windows 7 x 86
legendary
Activity: 1470
Merit: 1000
Want privacy? Use Monero!

ok, that seems an easy solution...

Feeling stupid now, with my batch-attempt Tongue

thx for the info! Cheesy
legendary
Activity: 1470
Merit: 1000
Want privacy? Use Monero!
Hi!

I'm just a noob with batch files (only wrote some simple ones) and now i'm hitting a wall.
(already searched the net for answers...)

I tried to create a batch file that would restart my CGminer every hour. Reason: sometimes my miners disconnect randomly. By restarting every hour I will minimize the loss of mined coins Wink

I already found some code for timed actions, but now I'm first trying to get some input in CGminer when it runs.
I wanted to automatically type 's c y" to restart the program (settings-cgminer_restart-yes)

I use the "echo input.txt | cgminer.exe"
but all I get is 'redirection is not supported'

Is there a workaround or someone who does this in a completly different way (maybe even without batch files)

thx in advance!
Jump to: