Bitcoin Forum
May 12, 2024, 07:07:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: batch file - automatic restart of CGminer  (Read 6789 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!
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715540831
Hero Member
*
Offline Offline

Posts: 1715540831

View Profile Personal Message (Offline)

Ignore
1715540831
Reply with quote  #2

1715540831
Report to moderator
1715540831
Hero Member
*
Offline Offline

Posts: 1715540831

View Profile Personal Message (Offline)

Ignore
1715540831
Reply with quote  #2

1715540831
Report to moderator
1715540831
Hero Member
*
Offline Offline

Posts: 1715540831

View Profile Personal Message (Offline)

Ignore
1715540831
Reply with quote  #2

1715540831
Report to moderator
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!