From 23330057c564186a92d40089ba9b401af8173f29 Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Wed, 22 Nov 2023 06:40:50 +0800 Subject: [PATCH] Add (recrawl) --- routes/tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/tests.php b/routes/tests.php index 6e8e79c..f70bf9c 100644 --- a/routes/tests.php +++ b/routes/tests.php @@ -47,7 +47,7 @@ $last_record = RssPost::orderBy('id','ASC')->first(); - for ($i=$id; $i < $last_record; $i++) { + for ($i=$id; $i < $last_record->id; $i++) { CrawlRssPostJob::dispatch($i)->onQueue('default')->onConnection('default'); }