command(BalanceReconcileCommand::class, [Service::DIGITALOCEAN()->key]) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->hourly(); $schedule->command(DocumentDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(WikiDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(DumpPruneCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->dailyAt('00:15'); $schedule->command(MonitorDatabaseCommand::class, ['--max' => 100]) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->everyMinute(); $schedule->command(MonitorQueueCommand::class, ['queues' => 'default', '--max' => 100]) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->everyMinute(); $schedule->command(PruneExpired::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(PruneFailedJobsCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(PruneModelsCommand::class, ['--except' => [BaseModel::class]]) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(PruneStaleTagsCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->hourly(); if (Config::bool('telescope.enabled')) { $schedule->command(PruneTelescopeEntriesCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); } $schedule->command(SnapshotCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->everyFiveMinutes(); $schedule->command(TransactionReconcileCommand::class, [Service::DIGITALOCEAN()->key]) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->hourly(); $schedule->command(UpdateDisposableDomainsCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->weekly(); } /** * Register the commands for the application. * * @return void * * @noinspection PhpMissingParentCallCommonInspection */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }