6
0
Fork 0

调整定时任务执行顺序

base
panliang 2023-11-04 12:30:08 +08:00
parent 74fc690814
commit d7cba72afd
1 changed files with 1 additions and 1 deletions

View File

@ -24,8 +24,8 @@ class Kernel extends ConsoleKernel
*/ */
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
$schedule->command('order-profit:send')->daily();
$schedule->command('order-profit:check')->daily(); $schedule->command('order-profit:check')->daily();
$schedule->command('order-profit:send')->dailyAt('2:00');
} }
/** /**