/** * Execute the console command. * * @return mixed */ public function fire() { try { // to caculate auciton winner Auction::cronRunTheWheel(); } catch (Exception $e) { if ($e->getCode() > 2000) { LogCronjob::addLog($this->name, $e->getMessage()); } } }