option('uid'); $torrentId = $this->option('torrent_id'); $ignoreTime = $this->option('ignore_time'); $rep = new HitAndRunRepository(); $result = $rep->cronjobUpdateStatus($uid, $torrentId, $ignoreTime); $log = sprintf( '[%s], %s, uid: %s, torrentId: %s, ignoreTime: %s, result: %s', nexus()->getRequestId(), __METHOD__, $uid, $torrentId, $ignoreTime, var_export($result, true) ); $this->info($log); do_log($log); return 0; } }