]> _ Git - psq.git/commitdiff
wip #7454
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 24 Apr 2025 10:37:12 +0000 (12:37 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 24 Apr 2025 10:37:12 +0000 (12:37 +0200)
app/Console/Kernel.php

index fbb7f2d133245147431bf962bdc23f36de86d2f9..40a07b9a788454b183e7b21c8c4df3e1b754ee7f 100644 (file)
@@ -20,12 +20,13 @@ class Kernel extends ConsoleKernel
     /**
      * Define the application's command schedule.
      *
-     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
+     * @param \Illuminate\Console\Scheduling\Schedule $schedule
      * @return void
      */
     protected function schedule(Schedule $schedule)
     {
         $schedule->job(new CheckForTrialExpirationDates)->dailyAt('13:00');
+        $schedule->command('psq:fluidbook:archives')->everyFifteenMinutes();
     }
 
     /**
@@ -35,7 +36,7 @@ class Kernel extends ConsoleKernel
      */
     protected function commands()
     {
-        $this->load(__DIR__.'/Commands');
+        $this->load(__DIR__ . '/Commands');
 
         require base_path('routes/console.php');
     }