command('schedule-monitor:sync')->dailyAt('04:56'); $schedule->command('schedule-monitor:clean')->daily(); //Horizon Graph Schedule $schedule->command('horizon:snapshot')->everyFiveMinutes(); /** * Purge Data Schedule */ $schedule->job(new PurgeUsersJob) ->weekly(); /** * Finances Update Schedule */ $schedule->job(new UpdateAllianceWalletJournalJob) ->hourlyAt('45') ->withoutOverlapping(); /** * Item Update Schedule */ $schedule->job(new UpdateItemPricesJob) ->hourlyAT('30') ->withoutOverlapping(); /** * Mining Tax Schedule */ $schedule->job(new FetchMiningTaxesObservers) ->dailyAt('20:00') ->withoutOverlapping(); $schedule->job(new PreFetchMiningTaxesLedgers) ->dailyAt('22:00') ->withoutOverlapping(); $schedule->job(new MiningTaxesWeeklyInvoicing) ->weeklyOn(1, '06:00') ->withoutOverlapping(); $schedule->job(new ProcessMiningTaxesPayments) ->hourlyAt('15') ->withoutOverlapping(); $schedule->job(new UpdateMiningTaxesLateInvoices1st) ->monthlyOn(1, '16:00') ->withoutOverlapping(); $schedule->job(new UpdateMiningTaxesLateInvoices15th) ->monthlyOn(15, '16:00') ->withoutOverlapping(); $schedule->job(new UpdateAllianceMoonRentalWorth) ->dailyAt('13:00') ->withoutOverlapping(); /** * Alliance Structure and Assets Schedule */ $schedule->job(new FetchAllianceStructures) ->dailyAt('21:00') ->withoutOverlapping(); $schedule->job(new FetchAllianceAssets) ->hourlyAt('15') ->withoutOverlapping(); $schedule->job(new PurgeAllianceStructures) ->monthlyOn(2, '14:00') ->withoutOverlapping(); $schedule->job(new PurgeAllianceAssets) ->monthlyOn(2, '15:00') ->withoutOverlapping(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } /** * Get the timezone that should be used by default for scheduled events. * * @return \DateTimeZone|string|null */ protected function scheduleTimezone() { return 'UTC'; } }