From e01d762c70b04e28289771dd07878e9e35e7f835 Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Wed, 22 Nov 2023 07:31:07 +0800 Subject: [PATCH] Update (fix) --- routes/tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/tests.php b/routes/tests.php index 7b5208d..fbb1060 100644 --- a/routes/tests.php +++ b/routes/tests.php @@ -47,7 +47,7 @@ return "Missing 'id'."; } - $last_record = RssPost::orderBy('id','ASC')->first(); + $last_record = RssPost::orderBy('id','DESC')->first(); for ($i=$id; $i < $last_record->id; $i++) { CrawlRssPostJob::dispatch($i)->onQueue('default')->onConnection('default');