user()?->can('updates.manage') ?? false; } protected static ?string $slug = 'systemzustand'; /** * @return array */ protected function getViewData(): array { return [ 'groups' => app(SiteHealth::class)->all(), 'cronLine' => '* * * * * cd '.base_path().' && php artisan schedule:run >> /dev/null 2>&1', 'webCronUrl' => url('/cron/'.app(BackgroundTasks::class)->webCronToken()), ]; } }