feat: 修改
This commit is contained in:
parent
e896f62f5f
commit
9e35142880
@ -48,7 +48,7 @@ class Task3
|
|||||||
// echo date('Y-m-d H:i:s')."\n";
|
// echo date('Y-m-d H:i:s')."\n";
|
||||||
// });
|
// });
|
||||||
// // 每1小时执行一次
|
// // 每1小时执行一次
|
||||||
new Crontab('*/1 * * * * *', function () {
|
new Crontab('0 0 * * * *', function () {
|
||||||
//获取在线时间超过6小时的用户
|
//获取在线时间超过6小时的用户
|
||||||
$today = date('Y-m-d');
|
$today = date('Y-m-d');
|
||||||
$UserPhone = UserPhone::where('day_score', '>=', 120)->get();
|
$UserPhone = UserPhone::where('day_score', '>=', 120)->get();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user