mining taxes commands started
This commit is contained in:
@@ -11,14 +11,14 @@ class MiningTaxesInvoices extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'command:name';
|
protected $signature = 'MiningTax:Invoice';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $description = 'Command description';
|
protected $description = 'Mining Taxes Invoice Command';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new command instance.
|
* Create a new command instance.
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ class MiningTaxesLedgers extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'command:name';
|
protected $signature = 'MiningTax:Ledgers';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $description = 'Command description';
|
protected $description = 'Start getting the mining ledgers.';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new command instance.
|
* Create a new command instance.
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ class MiningTaxesObservers extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'command:name';
|
protected $signature = 'MiningTax:Observer';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $description = 'Command description';
|
protected $description = 'Get mining tax observers.';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new command instance.
|
* Create a new command instance.
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ class MiningTaxesPayments extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'command:name';
|
protected $signature = 'MiningTax:Payments';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $description = 'Command description';
|
protected $description = 'Process mining tax payments';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new command instance.
|
* Create a new command instance.
|
||||||
|
|||||||
@@ -38,6 +38,13 @@ class Kernel extends ConsoleKernel
|
|||||||
*/
|
*/
|
||||||
Commands\Finances\HoldingFinancesCommand::class,
|
Commands\Finances\HoldingFinancesCommand::class,
|
||||||
Commands\Finances\SovBillsCommand::class,
|
Commands\Finances\SovBillsCommand::class,
|
||||||
|
/**
|
||||||
|
* Mining Tax Commands
|
||||||
|
*/
|
||||||
|
Commands\MiningTaxes\MiningTaxesInvoices::class,
|
||||||
|
Commands\MiningTaxes\MiningTaxesLedgers::class,
|
||||||
|
Commands\MiningTaxes\MiningTaxesObservers::class,
|
||||||
|
Commands\MiningTaxes\MiningTaxesPayments::class,
|
||||||
/**
|
/**
|
||||||
* Structures Command
|
* Structures Command
|
||||||
*/
|
*/
|
||||||
@@ -98,6 +105,19 @@ class Kernel extends ConsoleKernel
|
|||||||
$schedule->command('services:ItemPriceUpdate')
|
$schedule->command('services:ItemPriceUpdate')
|
||||||
->hourlyAt('30')
|
->hourlyAt('30')
|
||||||
->withoutOverlapping();
|
->withoutOverlapping();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mining Tax Schedule
|
||||||
|
*/
|
||||||
|
$schedule->command('MiningTaxes:Observers')
|
||||||
|
->dailyAt('22:00');
|
||||||
|
$schedule->command('MiningTaxes:Ledgers')
|
||||||
|
->hourlyAt('05')
|
||||||
|
->withoutOverlapping();
|
||||||
|
$schedule->command('MiningTaxes:Invoices')
|
||||||
|
->dailyAt('23:00');
|
||||||
|
$schedule->command('MiningTaxes:Payments')
|
||||||
|
->dailyAt('23:50');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user