public function getNetworkInfo() { if (!$this->tryLock(self::NETWORK_LOCK_FILE)) { die("Already running.\n"); } $paycoinDb = new PaycoinDb(); $paycoinDb->updateNetworkInfo(); }