update meilisearch move to schedule run command

This commit is contained in:
xiaomlove
2023-06-15 21:09:12 +08:00
parent b8c4e1cbbc
commit 0036c4ad28
3 changed files with 12 additions and 11 deletions

View File

@@ -35,8 +35,8 @@ class Kernel extends ConsoleKernel
$schedule->command('claim:settle')->hourly()->when(function () {
return Carbon::now()->format('d') == '01';
})->withoutOverlapping();
$schedule->command('meilisearch:import')->weeklyOn(1, "03:00")->withoutOverlapping();
// $schedule->command('plugin:cronjob')->everyMinute()->withoutOverlapping();
}
/**