removed some overlapping stuff from console command schedule

This commit is contained in:
2021-03-29 01:28:10 +09:00
parent 374181c82c
commit 49aab1b97a

View File

@@ -53,8 +53,7 @@ class Kernel extends ConsoleKernel
* Purge Data Schedule * Purge Data Schedule
*/ */
$schedule->command('data:CleanData') $schedule->command('data:CleanData')
->weekly(7, '11:00') ->weekly(7, '11:00');
->withoutOverlapping();
$schedule->command('data:PurgeCorpLedgers') $schedule->command('data:PurgeCorpLedgers')
->monthly(); ->monthly();
$schedule->command('data:PurgeUsers') $schedule->command('data:PurgeUsers')
@@ -71,24 +70,19 @@ class Kernel extends ConsoleKernel
* Item Update Schedule * Item Update Schedule
*/ */
$schedule->command('services:ItemPriceUpdate') $schedule->command('services:ItemPriceUpdate')
->hourlyAt('30') ->hourlyAt('30');
->withoutOverlapping();
/** /**
* Mining Tax Schedule * Mining Tax Schedule
*/ */
//$schedule->command('MiningTax:Observers') //$schedule->command('MiningTax:Observers')
// ->dailyAt('22:00') // ->dailyAt('22:00');
// ->withoutOverlapping();
$schedule->command('MiningTax:Ledgers') $schedule->command('MiningTax:Ledgers')
->dailyAt('20:00') ->dailyAt('20:00');
->withoutOverlapping();
$schedule->command('MiningTax:Invoices') $schedule->command('MiningTax:Invoices')
->weeklyOn(1, '8:00') ->weeklyOn(1, '8:00');
->withoutOverlapping();
$schedule->command('MiningTax:Payments') $schedule->command('MiningTax:Payments')
->hourlyAt('15') ->hourlyAt('15');
->withoutOverlapping();
} }
/** /**