0
 protected $commands = [
    Commands\FetchAndStore::class,
    Commands\FeatchAndSrore2::class
];




protected function schedule(Schedule $schedule)
{
    $schedule->command('command:FetchAndStore')
             ->everyMinute();
    $schedule->command('command:FeatchAndSrore2')
             ->everyMinute();
}

这是我运行此命令的代码PHP artisan schedule:run需要本地服务器和 VPS 服务器的解决方案

4

0 回答 0