We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188b5fa commit 6b9394fCopy full SHA for 6b9394f
app/Console/Commands/RunRecordMatcher.php
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+namespace App\Console\Commands;
4
5
+use App\Jobs\RunRecordMatchingJob;
6
+use Illuminate\Console\Command;
7
8
+class RunRecordMatcher extends Command
9
+{
10
+ protected $signature = 'ai:run-matcher {--queue=default}';
11
+ protected $description = 'Run the AI record matching job (dispatch to queue).';
12
13
+ public function handle()
14
+ {
15
+ RunRecordMatchingJob::dispatch()->onQueue($this->option('queue'));
16
+ $this->info('Record matching job dispatched.');
17
+ }
18
+}
0 commit comments