5 use Illuminate\Console\Scheduling\Schedule;
6 use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
8 class Kernel extends ConsoleKernel
11 * Define the application's command schedule.
13 * @param \Illuminate\Console\Scheduling\Schedule $schedule
16 protected function schedule(Schedule $schedule)
18 $schedule->command('sync:speedgaming')->everyFiveMinutes();
19 $schedule->command('sync:sra')->everyFifteenMinutes();
20 $schedule->command('sync:avatars')->everyFiveMinutes();
21 $schedule->command('sync:racetime')->everyFiveMinutes();
25 * Register the commands for the application.
29 protected function commands()
31 $this->load(__DIR__.'/Commands');
33 require base_path('routes/console.php');