wip
This commit is contained in:
1 parent
000f6fa046
commit
db027c4238
13 files changed
+995
-49
No files matched your search
@@ -3,14 +3,16 @@
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Console\Commands\Grapper\Sofascore\Grapper;
|
||||
use App\Console\Commands\Grapper\Sofascore\Helper\MoveToArchive;
|
||||
use App\Console\Commands\Grapper\Sofascore\Helper\SetStorage;
|
||||
use App\Console\Commands\Grapper\Sofascore\MakeExcel;
|
||||
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\SqlMover;
|
||||
use App\Utilities\Notice;
|
||||
use Illuminate\Console\Command;
|
||||
use App\Console\Commands\Grapper\Sofascore\Rose;
|
||||
|
||||
class Grap extends Command
|
||||
{
|
||||
@@ -48,17 +50,19 @@ class Grap extends Command
|
||||
$txt .= ' 5 import to excel from folder' . PHP_EOL;
|
||||
$txt .= ' 6 playeer/season' . PHP_EOL;
|
||||
$txt .= ' 7 settings to local' . PHP_EOL;
|
||||
$txt .= ' 11 move SQL' . PHP_EOL;
|
||||
Notice::note($txt, 'b', 1);
|
||||
}
|
||||
|
||||
Notice::note('Id ' . self::$options['id'], 'bb');
|
||||
sleep(2);
|
||||
Notice::note('Task Id ' . self::$options['id'], 'gb');
|
||||
|
||||
switch (self::$options['id']) {
|
||||
|
||||
case 1:
|
||||
SetStorage::set(1);
|
||||
|
||||
// MoveToArchive::move(1);
|
||||
|
||||
Grapper::load(1);
|
||||
|
||||
MakeExcel::create();
|
||||
@@ -80,6 +84,11 @@ class Grap extends Command
|
||||
SetStorage::set(4);
|
||||
|
||||
Rose::run();
|
||||
|
||||
MakeExcel::create();
|
||||
|
||||
// SendMail::run(4);
|
||||
|
||||
break;
|
||||
case 5:
|
||||
SetStorage::set(5);
|
||||
@@ -131,9 +140,9 @@ class Grap extends Command
|
||||
// Rose::run();
|
||||
// break;
|
||||
|
||||
// case 'sql_mover':
|
||||
// SqlMover::run();
|
||||
// break;
|
||||
case '11':
|
||||
SqlMover::run();
|
||||
break;
|
||||
|
||||
// case 'torunament_teams':
|
||||
// TournamentTeams::get();
|
||||
|
||||
Reference in new issue
Block a user