Bitcoin Forum
July 15, 2018, 09:42:39 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Collect CGMiner data  (Read 676 times)
dna2
Jr. Member
*
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
1531690959
Hero Member
*
Offline Offline

Posts: 1531690959

View Profile Personal Message (Offline)

Ignore
1531690959
Reply with quote  #2

1531690959
Report to moderator
1531690959
Hero Member
*
Offline Offline

Posts: 1531690959

View Profile Personal Message (Offline)

Ignore
1531690959
Reply with quote  #2

1531690959
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1722
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!