A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

38 lignes
1.0KB

  1. <?php
  2. namespace App\Console;
  3. use Illuminate\Console\Scheduling\Schedule;
  4. use Laravel\Lumen\Console\Kernel as ConsoleKernel;
  5. class Kernel extends ConsoleKernel
  6. {
  7. /**
  8. * The Artisan commands provided by your application.
  9. *
  10. * @var array
  11. */
  12. protected $commands = [
  13. \App\Console\Commands\Subforums::class,
  14. \App\Console\Commands\Stats::class,
  15. \App\Console\Commands\Popular::class,
  16. \App\Console\Commands\Latest::class,
  17. \App\Console\Commands\Events::class
  18. ];
  19. /**
  20. * Define the application's command schedule.
  21. *
  22. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  23. * @return void
  24. */
  25. protected function schedule(Schedule $schedule)
  26. {
  27. $schedule->command('knockout:subforums')->everyMinute();
  28. $schedule->command('knockout:latest')->everyFiveMinutes();
  29. $schedule->command('knockout:popular')->everyFiveMinutes();
  30. $schedule->command('knockout:events')->everyFiveMinutes();
  31. $schedule->command('knockout:stats')->hourly();
  32. }
  33. }