command(ClearResetsCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->everyFifteenMinutes(); $schedule->command(AdminDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->mondays(); $schedule->command(AuthDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->mondays(); $schedule->command(ContentDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $schedule->command(DocumentDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->mondays(); $schedule->command(ListDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->mondays(); $schedule->command(UserDumpCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->mondays(); $schedule->command(DumpReconcileCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->dailyAt('00:10'); $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(PruneBatchesCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->daily(); $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(); $schedule->command(SyncEntryLikesCountCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->dailyAt('23:55'); $schedule->command(SyncEntryTracksCountCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->dailyAt('23:56'); $schedule->command(UpdateAnimeDateCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->dailyAt('23:30'); $schedule->command(UpdateDisposableDomainsCommand::class) ->withoutOverlapping() ->runInBackground() ->storeOutput() ->weekly(); } /** * Register the commands for the application. * * @noinspection PhpMissingParentCallCommonInspection */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }