📅  最后修改于: 2022-03-11 14:54:05.240000             🧑  作者: Mango
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('YOURcommand:YOURswitch')->dailyAt('01:00');
$schedule->command('queue:work', ['--max-time' => 3600])->withoutOverlapping();
}