wip
This commit is contained in:
1 parent
483b5e1abe
commit
e41168121f
3 files changed
+14
-5
No files matched your search
@@ -43,7 +43,6 @@ class PlayerPropsTable extends TableWidget
|
||||
<div>Foot</div>
|
||||
<div>Evt</div>
|
||||
<div>Min</div>
|
||||
|
||||
</div>');
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ use App\Models\SofaScoreTaskDay;
|
||||
use App\Utilities\Notice;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
|
||||
@@ -51,10 +52,16 @@ trait GrappingSofascore
|
||||
|
||||
public function handle(): void
|
||||
{
|
||||
ini_set('memory_limit', '2048M');
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
DB::connection()->disableQueryLog();
|
||||
|
||||
$this->debug = $this->options()['d'] ?? 0;
|
||||
|
||||
$this->restart = $this->options()['r'] ?? 0;
|
||||
@@ -159,7 +166,7 @@ trait GrappingSofascore
|
||||
if (in_array($daily_way, [1, 3])) {
|
||||
$day = Carbon::now()->subDay()->format('Y-m-d');
|
||||
|
||||
$this->grapped_files = $this->get_tree($this->data_dir . '/' . $day);
|
||||
$this->grapped_files = $this->get_tree($this->data_dir.'/'.$day);
|
||||
|
||||
$this->grap_tournaments_for_day($day);
|
||||
|
||||
@@ -174,7 +181,7 @@ trait GrappingSofascore
|
||||
if (in_array($daily_way, [2, 3])) {
|
||||
$day = Carbon::now()->subDays(5)->format('Y-m-d');
|
||||
|
||||
$this->grapped_files = $this->get_tree($this->data_dir . '/' . $day);
|
||||
$this->grapped_files = $this->get_tree($this->data_dir.'/'.$day);
|
||||
|
||||
$this->grap_tournaments_for_day($day);
|
||||
|
||||
|
||||
Reference in new issue
Block a user