Bitcoin Forum
April 24, 2018, 04:42:24 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524588144
Hero Member
*
Offline Offline

Posts: 1524588144

View Profile Personal Message (Offline)

Ignore
1524588144
Reply with quote  #2

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

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