H&R inspect time unreach do not update

This commit is contained in:
xiaomlove
2022-03-28 21:08:00 +08:00
parent cd7fe1704f
commit f2fe206d13
+2
View File
@@ -106,11 +106,13 @@ class HitAndRunRepository extends BaseRepository
} }
//unreached //unreached
if ($row->added->addHours($setting['inspect_time'])->lte(Carbon::now())) {
$result = $this->unreached($row); $result = $this->unreached($row);
if ($result) { if ($result) {
$successCounts++; $successCounts++;
} }
} }
}
$page++; $page++;
} }
do_log("[CRONJOB_UPDATE_HR_DONE]"); do_log("[CRONJOB_UPDATE_HR_DONE]");