fix select country
This commit is contained in:
1 parent
cda3acc1a5
commit
cbc66d7e27
3 files changed
+68
-73
No files matched your search
@@ -117,10 +117,11 @@ trait GrapSofascore
|
||||
|
||||
$this->load_tournaments_requested($folder);
|
||||
|
||||
$this->clear_folder($folder, 'all');
|
||||
|
||||
/**
|
||||
* day 1
|
||||
*/
|
||||
$this->clear_folder($folder, 'all');
|
||||
|
||||
$day = Carbon::now()->subDay()->format('Y-m-d');
|
||||
|
||||
@@ -130,12 +131,9 @@ trait GrapSofascore
|
||||
$this->get_event($day, $tournament);
|
||||
}
|
||||
|
||||
$this->import_to_excel($folder, $day);
|
||||
|
||||
/**
|
||||
* day 5
|
||||
*/
|
||||
$this->clear_folder($folder, 'data');
|
||||
|
||||
$day = Carbon::now()->subDays(5)->format('Y-m-d');
|
||||
|
||||
@@ -145,7 +143,15 @@ trait GrapSofascore
|
||||
$this->get_event($day, $tournament);
|
||||
}
|
||||
|
||||
$this->import_to_excel($folder, $day);
|
||||
/**
|
||||
* to excel day by day
|
||||
*/
|
||||
|
||||
$this->import_to_excel($folder);
|
||||
|
||||
/**
|
||||
* mail it
|
||||
*/
|
||||
|
||||
$this->send($folder);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user