command('time-entry:send-still-running-mails') ->when(fn (): bool => config('scheduling.tasks.time_entry_send_still_running_mails')) ->everyTenMinutes(); $schedule->command('self-host:check-for-update') ->when(fn (): bool => config('scheduling.tasks.self_hosting_check_for_update')) ->twiceDaily(); $schedule->command('self-host:telemetry') ->when(fn (): bool => config('scheduling.tasks.self_hosting_telemetry')) ->twiceDaily(); } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__.'/Commands'); } }