wip
This commit is contained in:
1 parent
06c014fa1b
commit
e4ff6929e7
5 files changed
+59
-17
No files matched your search
@@ -10,6 +10,7 @@ use App\Console\Commands\Grapper\Sofascore\PlayerPerSeason;
|
||||
use App\Console\Commands\Grapper\Sofascore\Rose;
|
||||
use App\Console\Commands\Grapper\Sofascore\SendMail;
|
||||
use App\Console\Commands\Grapper\Sofascore\SettingsToLocal;
|
||||
use App\Console\Commands\Grapper\Sofascore\SettingsToProduction;
|
||||
use App\Console\Commands\Grapper\Sofascore\SqlMover;
|
||||
use App\Console\Commands\Grapper\Sofascore\TournamentTeams;
|
||||
use App\Console\Commands\Nuh;
|
||||
@@ -77,6 +78,10 @@ class Sofascore
|
||||
TournamentTeams::get();
|
||||
break;
|
||||
|
||||
case 10:
|
||||
SettingsToProduction::run();
|
||||
break;
|
||||
|
||||
default:
|
||||
Notice::note('id not valid', 'br', 1);
|
||||
}
|
||||
@@ -94,7 +99,7 @@ class Sofascore
|
||||
switch ($task) {
|
||||
case 1:
|
||||
self::$archive_name = Carbon::now()->subDays(3)->format('Y-m-d') . '.zip';
|
||||
self::$storage .= $storage_name;
|
||||
self::$storage .= $storage_name . Carbon::now()->subDays(3)->format('Y-m-d');
|
||||
break;
|
||||
case 2:
|
||||
case 3:
|
||||
|
||||
Reference in new issue
Block a user