kernel updates for comamnds
This commit is contained in:
42
app/Console/Commands/Moons/MoonsUpdateCommand.php
Normal file
42
app/Console/Commands/Moons/MoonsUpdateCommand.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class MoonsUpdateCommand extends Command
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'services:MoonUpdate';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Update all of the moons registered for observers and ledgers.';
|
||||
|
||||
/**
|
||||
* Create a new command instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -29,8 +29,6 @@ class Kernel extends ConsoleKernel
|
||||
Commands\Wormholes\PurgeWormholes::class,
|
||||
Commands\Finances\SovBillsCommand::class,
|
||||
Commands\Data\CleanStaleDataCommand::class,
|
||||
//Commands\Moons\FetchMoonLedgerCommand::class,
|
||||
//Commands\Moons\FetchRentalMoonLedgerCommand::class,
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -85,21 +83,6 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->command('services:CleanData')
|
||||
->weekly(7, '11:00')
|
||||
->withoutOverlapping();
|
||||
/**
|
||||
* New Commands
|
||||
*/
|
||||
//$schedule->command('services:FetchMoonLedgers')
|
||||
// ->hourlyAt(30)
|
||||
// ->withoutOverlapping();
|
||||
//$schedule->command('services:FetchMoonObservers')
|
||||
// ->hourlyAt(15)
|
||||
// ->withoutOverlapping();
|
||||
//$schedule->command('services:FetchRentalMoonObservers')
|
||||
// ->hourlyAt(15)
|
||||
// ->withoutOverlapping();
|
||||
//$schedule->command('services:FetchRentalMoonLedgers')
|
||||
// ->hourlyAt(20)
|
||||
// ->withoutOverlapping();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user