调整定时任务执行顺序
parent
74fc690814
commit
d7cba72afd
|
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue