Browse Source

修改监控脚本频率

shensong 5 years ago
parent
commit
35f18a9721
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Console/Commands/Monitor.php

+ 2 - 2
app/Console/Commands/Monitor.php

@@ -31,8 +31,8 @@ class Monitor extends Command {
31 31
 
32 32
     public function monitor() {
33 33
         #统计一定时间区间内的uv频率
34
-        $startTime = strtotime(date('Y-m-d 08:00:00',time()));
35
-        $endTime = strtotime(date('Y-m-d 18:00:00',time()));
34
+        $startTime = strtotime(date('Y-m-d 09:00:00',time()));
35
+        $endTime = strtotime(date('Y-m-d 17:00:00',time()));
36 36
         $currentTime = time();
37 37
 
38 38
         if($startTime > $currentTime || $endTime < $currentTime){