Changeset 873 for trunk/Modules/NetworkShare/update.php
- Timestamp:
- Apr 6, 2020, 11:17:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/update.php
r790 r873 4 4 5 5 $Dnes = date('Y-m-d'); 6 //while (1)6 //while (1) 7 7 //{ 8 8 $Hosts = array(); 9 9 $StartTime = GetMicrotime(); 10 10 $DbResult = $Database->query("SELECT * FROM NetworkDevice WHERE Online=1 AND (Block=0 OR Name='centrala') AND (Name!='GATE') AND User>0"); 11 while ($Row = $DbResult->fetch_array())11 while ($Row = $DbResult->fetch_array()) 12 12 { 13 13 //echo('Host: '.$Host."...\n"); … … 16 16 $HostID = 100; 17 17 $StartTime2 = GetMicrotime(); 18 if ($Dnes != $Row['last_share_check'])18 if ($Dnes != $Row['last_share_check']) 19 19 { 20 20 echo("Kontroluji ".$Row['Name']."...\n");
Note:
See TracChangeset
for help on using the changeset viewer.