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