This commit is contained in:
salam committed 2026-08-04 16:32:51 +02:00
1 parent 2b591ad8cf
commit ad0724f61b
8 files changed
+145 -117

No files matched your search

+25 -22
View File
@@ -2,20 +2,20 @@
namespace App\Console\Commands;
use App\Console\Commands\DbMapper\AutoMapper;
use App\Utilities\Notice;
use App\Models\Supervisor;
use Illuminate\Console\Command;
use App\Utilities\Supervisorctl;
use Illuminate\Support\Facades\DB;
use App\Console\Commands\Grapper\Betica;
use App\Console\Commands\Grapper\Magloo;
use App\Console\Commands\Grapper\TxOdds;
use App\Console\Commands\Grapper\Betsapi;
use App\Console\Commands\Grapper\Goldbet;
use App\Console\Commands\Grapper\Logifuture;
use App\Console\Commands\Grapper\Magloo;
use App\Console\Commands\Grapper\Sofascore;
use App\Console\Commands\Grapper\TxOdds;
use App\Console\Commands\Services\Services;
use App\Models\Supervisor;
use App\Utilities\Notice;
use App\Utilities\Supervisorctl;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use App\Console\Commands\Grapper\Logifuture;
use App\Console\Commands\DbMapper\AutoMapper;
class Nuh extends Command
{
@@ -23,7 +23,7 @@ class Nuh extends Command
public static $id = 0;
protected $signature = 'nuh {process=help} {--truncate} {--id=0} {--fun=} {--ff} {--task=0} {--restart=0} {--gid=} {--p} {--d} {--x} {--t} {--y} {--m} {--l} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b} {--e} {--z}';
protected $signature = 'nuh {process=help} {--folder=} {--id=0} {--fun=} {--ff} {--task=0} {--restart=0} {--gid=} {--p} {--d} {--x} {--t} {--y} {--m} {--l} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b} {--e} {--z}';
public function handle()
{
@@ -43,19 +43,22 @@ class Nuh extends Command
$txt .= '--id=matchid (optional) calling spezific id' . PHP_EOL;
$txt .= '--fun=name (optional) [bkms, markets]' . PHP_EOL;
$txt .= '--gid=groupid (optional) [bkms, groupid]' . PHP_EOL;
$txt .= '--truncate (optional)' . PHP_EOL;
$txt .= '-----------------------------------------------------------' . PHP_EOL . PHP_EOL;
$txt .= 'Sofascore (67)' . PHP_EOL;
$txt .= '-----------------------------------------------------------' . PHP_EOL;
$txt .= '--fun=[1,2,3,4,5]'
. PHP_EOL . chr(9) . '1) player/season'
. PHP_EOL . chr(9) . '2) setting to local'
. PHP_EOL . chr(9) . '3) grapper'
. PHP_EOL . chr(9) . '4) create zip'
. PHP_EOL . chr(9) . '5) mail folder'
. PHP_EOL;
$txt .= '--task=[id from sofa_score_tasks table]';
$txt .= '--restart=[0|1] delete archive and flusch DB for taks, start new';
$txt .= 'Sofascore (67)' . PHP_EOL;
$txt .= '--fun=' . PHP_EOL;
$txt .= chr(9) . 'player_season' . PHP_EOL;
$txt .= chr(9) . 'set_to_local' . PHP_EOL;
$txt .= chr(9) . 'grapper' . PHP_EOL;
$txt .= chr(9) . 'zip' . PHP_EOL;
$txt .= chr(9) . 'mail' . PHP_EOL;
$txt .= chr(9) . 'rose' . PHP_EOL;
$txt .= chr(9) . 'sql_mover' . PHP_EOL;
$txt .= chr(9) . 'excel' . PHP_EOL;
$txt .= chr(9) . 'torunament_teams' . PHP_EOL;
$txt .= chr(9) . 'set_to_production' . PHP_EOL;
$txt .= '--task=[id from sofa_score_tasks table]' . PHP_EOL;
$txt .= '--restart=[0|1] delete archive and flusch DB for taks, start new' . PHP_EOL;
$txt .= '--folder="yyyy-mm-dd" to import files into Excel' . PHP_EOL;
$txt .= '-----------------------------------------------------------' . PHP_EOL . PHP_EOL;
$txt .= 'Options' . PHP_EOL;
$txt .= '-----------------------------------------------------------' . PHP_EOL;