Skip to content

A self-hosted media server and file management system

update index schedule for testing (every minute)

aminnausinc1cc83472cf4
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index efad9001..478c2a1e 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -14,7 +14,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
- $schedule->job(new IndexFiles)->daily()->environments(['staging', 'production']);
+ $schedule->job(new IndexFiles)->everyMinute()->environments(['staging', 'production']);
$schedule->command('sanctum:prune-expired --hours=2')->daily();
}