command('horizon:snapshot')->everyFiveMinutes(); /** * Purge Data Schedule */ $schedule->command('data:CleanData') ->weekly(7, '11:00') ->withoutOverlapping(); $schedule->command('data:PurgeCorpLedgers') ->monthly(); $schedule->command('data:PurgeUsers') ->dailyAt('23:00'); /** * Finances Update Schedule */ $schedule->command('finances:UpdateJournals') ->hourlyAt('45') ->withoutOverlapping(); /** * Item Update Schedule */ $schedule->command('services:ItemPriceUpdate') ->hourlyAt('30') ->withoutOverlapping(); /** * Mining Tax Schedule */ //$schedule->command('MiningTax:Observers') // ->dailyAt('22:00') // ->withoutOverlapping(); $schedule->command('MiningTax:Ledgers') ->dailyAt('20:00') ->withoutOverlapping(); $schedule->command('MiningTax:Invoices') ->weeklyOn(1, '8:00') ->withoutOverlapping(); $schedule->command('MiningTax:Payments') ->hourlyAt('15') ->withoutOverlapping(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }