I have laravel schedule setup as below
Create command and name its.
class BackupDatabase extends Command{ protected $signature = 'command:backupdatabase';Register command in kernel.php
protected $commands = [ Commands\BackupDatabase::classSetup handle
Artisan::call('backup:run',['--only-db'=>true]); $output = Artisan::output();Add to schedule
$schedule->command('command:backupdatabase')->everyMinute();
Nothing happen on this schedule. Btw, I already tried 'php artisan command:backupdatabase' in terminal and function working perfectly. I'm not sure what I'am doing wrong, Thanks for all advise.