Post
Topic
Board Project Development
Re: [v4.1] Mining Farm #2 | Help donate hashes [Testnet] http://173.212.217.202/
by
Xenland
on 22/06/2011, 21:08:13 UTC
How would I query for the number of active workers ?
Code:
$fiveMinutesAgo = time();
$fiveMinutesAgo -= 60*5;

Code:
SELECT `id` FROM `stats_userMhashes` WHERE `timestamp` >= $fiveMinutesAgo AND `mhashes` > 0
try that?