kernel updates for comamnds

This commit is contained in:
2020-05-10 22:37:58 -05:00
parent acb55a1ecb
commit f9676665de
2 changed files with 42 additions and 17 deletions

View 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()
{
//
}
}

View File

@@ -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();
}
/**