A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
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. }