Bitcoin Forum
July 22, 2018, 02:55:13 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
1532271313
Hero Member
*
Offline Offline

Posts: 1532271313

View Profile Personal Message (Offline)

Ignore
1532271313
Reply with quote  #2

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

Posts: 1532271313

View Profile Personal Message (Offline)

Ignore
1532271313
Reply with quote  #2

1532271313
Report to moderator
1532271313
Hero Member
*
Offline Offline

Posts: 1532271313

View Profile Personal Message (Offline)

Ignore
1532271313
Reply with quote  #2

1532271313
Report to moderator
1532271313
Hero Member
*
Offline Offline

Posts: 1532271313

View Profile Personal Message (Offline)

Ignore
1532271313
Reply with quote  #2

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