Add (ai gen)

This commit is contained in:
2023-10-02 10:22:44 +08:00
parent d0271b4657
commit 5e6f50afe5

View File

@@ -32,7 +32,7 @@ protected function schedule(Schedule $schedule)
{
$currentTime = now();
if ($currentTime->equalTo($nextRun->next_run_time)) {
if ($currentTime->gte($nextRun->next_run_time)) {
$shopee_seller_category = ShopeeSellerCategory::where('category_id', $category->id)->where(function($query) {
$query->whereNull('last_ai_written_at')