info('启动5秒循环任务...'); // 首次启动任务 FiveSecondTaskJob::dispatch()->delay(now()->addSeconds(5)); $this->info('任务已启动,将在5秒后首次执行'); return Command::SUCCESS; } }