Skip to content

Commit 6b9394f

Browse files
Create RunRecordMatcher.php
1 parent 188b5fa commit 6b9394f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)