feat: 修改

This commit is contained in:
陈狼 2025-02-23 18:27:22 +08:00
parent e896f62f5f
commit 9e35142880
1 changed files with 1 additions and 1 deletions

View File

@ -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();