File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace App \Console ;
44
5- use Override ;
65use Illuminate \Console \Scheduling \Schedule ;
76use Illuminate \Foundation \Console \Kernel as ConsoleKernel ;
7+ use App \Jobs \ScanForDuplicatePersons ;
88
99class Kernel extends ConsoleKernel
1010{
1111 /**
1212 * Define the application's command schedule.
1313 */
14- #[Override]
1514 protected function schedule (Schedule $ schedule ): void
1615 {
17- // $schedule->command('inspire')->hourly();
16+ // Run duplicate scanning once a day (adjust frequency as needed)
17+ $ schedule ->job (new ScanForDuplicatePersons (0.7 , 10 ))->daily ();
1818 }
1919
2020 /**
2121 * Register the commands for the application.
2222 */
23- #[Override]
2423 protected function commands (): void
2524 {
2625 $ this ->load (__DIR__ .'/Commands ' );
You can’t perform that action at this time.
0 commit comments