Laravel - Task Scheduling - Scheduling Artisan Commands
In addition to scheduling closures, you may also schedule Artisan commands and system commands. For example, you may use the
command method to schedule an Artisan command using either the command's name or class.
When scheduling Artisan commands using the command's class name, you may pass an array of additional command-line arguments that should be provided to the command when it is invoked:
use App\Console\Commands\SendEmailsCommand; $schedule->command('emails:send Taylor --force')->daily(); $schedule->command(SendEmailsCommand::class, ['Taylor', '--force'])->daily();