This commit is contained in:
salam committed 2026-09-27 17:34:34 +02:00
1 parent 6662b0a823
commit 750b8bc571
3 files changed
+37 -30

No files matched your search

+14 -14
View File
@@ -116,32 +116,32 @@ trait GrapSofascore
/**
* day 1
*/
$this->clear_folder($folder, 'all');
// $this->clear_folder($folder, 'all');
$day = Carbon::now()->subDay()->format('Y-m-d');
// $day = Carbon::now()->subDay()->format('Y-m-d');
$this->grap_tournaments_for_day($day);
// $this->grap_tournaments_for_day($day);
foreach ($this->tournaments_requested as $tournament) {
$this->get_event($day, $tournament);
}
// foreach ($this->tournaments_requested as $tournament) {
// $this->get_event($day, $tournament);
// }
$this->import_to_excel($folder, "Daily-$day");
$this->clear_folder($folder, 'data');
// $this->import_to_excel($day, "Daily-$day");
/**
* day 5
*/
// $this->clear_folder($folder, 'data');
$day = Carbon::now()->subDays(5)->format('Y-m-d');
$this->grap_tournaments_for_day($day);
// $this->grap_tournaments_for_day($day);
foreach ($this->tournaments_requested as $tournament) {
$this->get_event($day, $tournament);
}
// foreach ($this->tournaments_requested as $tournament) {
// $this->get_event($day, $tournament);
// }
$this->import_to_excel($folder, "Daily-$day");
$this->import_to_excel($day, "Daily-$day");
$this->send($folder);
}