From 9e35142880e1f9e469f957b77a2f7e55aca44bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Sun, 23 Feb 2025 18:27:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process/Task3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/Task3.php b/process/Task3.php index 02ee7a8..ce372b8 100644 --- a/process/Task3.php +++ b/process/Task3.php @@ -48,7 +48,7 @@ class Task3 // echo date('Y-m-d H:i:s')."\n"; // }); // // 每1小时执行一次 - new Crontab('*/1 * * * * *', function () { + new Crontab('0 0 * * * *', function () { //获取在线时间超过6小时的用户 $today = date('Y-m-d'); $UserPhone = UserPhone::where('day_score', '>=', 120)->get();