command(RotateScreenshots::class)->weekly()->when(Settings::scope('core')->get('auto_thinning')); $schedule->job(new ClearExpiredApps)->daily(); $schedule->command(RecreateCronTaskWorkers::class)->daily()->runInBackground()->withoutOverlapping(); $schedule->command(VerifyAttachments::class)->daily()->runInBackground()->withoutOverlapping(); $schedule->command(CalculateEfficiency::class)->daily()->runInBackground()->withoutOverlapping(); $schedule->command(FindSusFiles::class)->weekly()->runInBackground()->withoutOverlapping(); } /** * Register the Closure based commands for the application. */ protected function commands(): void { $this->load(__DIR__ . '/Commands'); } }