command('horizon:snapshot')->everyFiveMinutes(); /** * Rentals / Flex Schedule */ $schedule->command('services:UpdateRentalPrice') ->dailyAt('11:00') ->withoutOverlapping(); $schedule->command('services:FlexStructures') ->monthlyOn(2, '00:01'); /** * Holding Corp Finance Schedule */ $schedule->command('services:HoldingJournal') ->hourlyAt('45') ->withoutOverlapping(); //$schedule->command('services:GetFinances') // ->hourlyAt('35') // ->withoutOverlapping(); /** * Get Information Schedule */ $schedule->command('services:GetCorps') ->monthlyOn(1, '09:00'); $schedule->command('services:GetStructures') ->dailyAt('09:00'); $schedule->command('services:GetAssets') ->hourlyAt('22'); /** * Purge Data Schedule */ $schedule->command('services:PurgeWormholeData') ->hourlyAt(20); $schedule->command('services:CleanData') ->weekly(7, '11:00'); $schedule->command('data:PurgeCorpLedgers') ->monthly(); $schedule->command('services:PurgeUsers') ->dailyAt('23:00'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }