Bitcoin Forum
November 10, 2024, 05:19:27 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: batch file - automatic restart of CGminer  (Read 6806 times)
dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
July 29, 2013, 10:42:23 PM
 #1

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!
wedgy2k
Sr. Member
****
Offline Offline

Activity: 329
Merit: 251



View Profile
July 29, 2013, 11:01:36 PM
 #2

Try this, it's different class

https://bitcointalk.org/index.php?topic=159267.0

dnaleor (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
July 29, 2013, 11:18:35 PM
 #3


ok, that seems an easy solution...

Feeling stupid now, with my batch-attempt Tongue

thx for the info! Cheesy
MBTY
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
June 21, 2014, 11:11:54 PM
 #4

You also can try this http://dwwb.ru/MineRestarter
Translated: https://translate.google.ru/translate?sl=ru&tl=en&u=http%3A%2F%2Fdwwb.ru%2FMineRestarter
tuanvie
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
June 23, 2014, 12:59:47 PM
 #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

.
      ▄▄█▀▀█▄▄
  ▄▄█████▄▄█████▄▄
████  ███  ███  ████
  ▀▀█████▀▀█████▀▀

▀█▄▄  ▀▀█▄▄█▀▀   ▄▄█
 ▀▀███▄▄     ▄▄██▀██
     ▀███   ██▀  ▄█
██     ██  ██ ▄██▀██
▀██    ██  ███▀  ▄██
 ▀███▄▄██  ██ ▄███▀
    ▀▀███  ▀██▀▀
Just.Bet 
 
 
 
█▀▀▀▀▀










█▄▄▄▄▄
.
DICE
LOTTERY
PLINKO
.
COIN FLIP
CRASH
WHEEL
▀▀▀▀▀█










▄▄▄▄▄█
.
        ███████       ▄▄██▄
                  ▄▄███▀▀██▄
      ██████   ▄███████▄▄███▄
               ▀██  █████████▄
                ▀█████████▀▀██▄
████████████     ▀███▀▀███▄▄██▀
██  ████  ██      ▀██▄▄███▀▀
█████▀▀█████  ██   ▀██▀▀
█████▄▄█████
██  ████  ██   ██████
████████████
.
DECENTRALIZED
PROVABLY FAIR
ON CHAIN GAMES
█▀▀▀▀▀










█▄▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
PLAY NOW
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀▀█










▄▄▄▄▄█
[/center]
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!