Bitcoin Forum
October 20, 2018, 08:06:41 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Collect CGMiner data  (Read 686 times)
dna2
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
September 26, 2013, 10:05:48 AM
 #1

Hi everybody,

I'm a developer and I would like to collect data coming out from CGMiner to a database (mysql or sqlite). I've been reading I can (maybe) do that running a php script from a cron job. Do you think is a viable solution? Do you know better ways?

Thanks in advance,
Any help is greatly appreciated
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
1540066001
Hero Member
*
Offline Offline

Posts: 1540066001

View Profile Personal Message (Offline)

Ignore
1540066001
Reply with quote  #2

1540066001
Report to moderator
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1764
Merit: 1001

Reverse engineer from time to time


View Profile
September 26, 2013, 11:15:14 AM
 #2

The better way is to recompile cgminer that will log the output you want and send it asynchronously to some database or file.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!