Add (recrawl)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
use App\Jobs\AISerpGenArticleJob;
|
||||
use App\Jobs\BrowseAndWriteWithAIJob;
|
||||
use App\Jobs\BrowseRSSPostJob;
|
||||
use App\Jobs\CrawlRssPostJob;
|
||||
use App\Jobs\FillPostMetadataJob;
|
||||
use App\Jobs\GenerateArticleFeaturedImageJob;
|
||||
use App\Jobs\GenerateArticleJob;
|
||||
@@ -47,7 +48,7 @@
|
||||
$last_record = RssPost::orderBy('id','ASC')->first();
|
||||
|
||||
for ($i=$id; $i < $last_record; $i++) {
|
||||
BrowseRSSPostJob::dispatch($i)->onQueue('default')->onConnection('default');
|
||||
CrawlRssPostJob::dispatch($i)->onQueue('default')->onConnection('default');
|
||||
}
|
||||
|
||||
return 'ok';
|
||||
|
||||
Reference in New Issue
Block a user