crazycat vor 4 Jahren
Ursprung
Commit
0361e1ccd5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      sendCmd/idcol_alarm_info_send.php

+ 1 - 1
sendCmd/idcol_alarm_info_send.php

@@ -51,7 +51,7 @@ while (1) {
 	$beginTime = time();
 	$beginDate = date('H:i',$beginTime);
 	
-	if (date('H:00',time() - 4*3600) == '09:00') {
+	if (date('H:00',time() + 6*3600) == '09:00') {
 		$db = new Db($config);
 		$lampList = $db->query('select W.id,W.batstatus,W.panelstatus,W.lampstatus,W.tempstatus,W.onlinestatus,L.projectid,P.projectname,L.number,L.address,L.section,L.lighteness,L.lampvoltage,L.lampcurrent,L.lamppower,L.netstatus,L.softwareVersion,L.iccid,L.updatetime from warning_info_log W left join lampinfo L on W.lampid = L.id left join project P on L.projectid = P.id where W.is_send = 0 and L.id is not null and P.id is not null and W.status = 0');
 		$temp_send = [];