Trying to do task scheduling but not working properly. I set the time and wrote the commands but not running.
Here is my commands;
namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\allestates;
protected $signature = 'bot:mitsui';
Also my Kernel is here:
protected $commands = [
//
Commands\mitsui::class,
];
protected function schedule(Schedule $schedule)
{
$schedule->command('bot:mitsui')->everyFiveMinutes();
}
What am I missing here? Thanks for helping me out!