我在内核文件中添加了10个调度命令,并注意到我没有收到我希望运行的命令发出的任何电子邮件。但是正确执行了几个月前已在内核文件中的前两个命令(发送:jobalert和expire:jobs)。我希望命令notify:incomplete-cv-resume运行。 (下面的示例代码已缩短)
protected function schedule(Schedule $schedule) {
$schedule->command('send:jobalert')
->weekly()->sundays()->at('01:00')
->withoutOverlapping()
->emailOutputTo('<email removed>');
$schedule->command('notify:incomplete-cv')
->weekly()->sundays()->at('02:00')
->withoutOverlapping()
->emailOutputTo('<email removed>');
$schedule->command('notify:incomplete-cv-resume')
->weekly()->mondays()->at('01:00')
->withoutOverlapping()
->emailOutputTo('<email removed>');
$schedule->command('notify:incomplete-cv-photo')
->weekly()->tuesdays()->at('01:00')
->withoutOverlapping()
->emailOutputTo('<email removed>');
$schedule->command('expire:jobs')
->everyMinute()
->withoutOverlapping(); // ->emailOutputTo('<email removed>')
}