Using the Laravel task scheduler I have created a number of tasks in Kernel.php
e.g:
$schedule->command(\'some:command\')
->daily();
$sche
As your not running through the console you need to invoke the schedule method on the Kernel in your controller... (don't forget to make the schedule
method public instead of protected).
public function index(\Illuminate\Contracts\Console\Kernel $kernel, \Illuminate\Console\Scheduling\Schedule $schedule)
{
$kernel->schedule($schedule);
dd($schedule->events());
}