generated from liutk/owl-admin-base
Update
parent
9b848dbc2c
commit
fb96a9665f
|
|
@ -12,8 +12,8 @@ class Kernel extends ConsoleKernel
|
||||||
*/
|
*/
|
||||||
protected function schedule(Schedule $schedule): void
|
protected function schedule(Schedule $schedule): void
|
||||||
{
|
{
|
||||||
$schedule->command(Commands\TaskUpdateCommand::class)->hourly();
|
$schedule->command(Commands\TaskUpdateCommand::class)->hourly()->runInBackground();
|
||||||
$schedule->command(Commands\TaskLedgerGenerateCommand::class)->dailyAt('01:00');
|
$schedule->command(Commands\TaskLedgerGenerateCommand::class)->dailyAt('01:00')->runInBackground();
|
||||||
// $schedule->call(fn() => logger('schedule running'))->everyMinute();
|
// $schedule->call(fn() => logger('schedule running'))->everyMinute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue