Skip to content

Commit

Permalink
Update getserverdataloop.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStonedOne committed Oct 7, 2017
1 parent 39eb3f9 commit 7dec240
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions getserverdataloop.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
return;


/* $endtime = time()+60; */
$endtime = time()+60;

/* while (time() < $endtime) {
$starttime = time(); */
while (time() < $endtime) {
$starttime = time();
exec("php getserverdata.php");
/* if (10-(time()-$starttime) > 0)
sleep(10-(time()-$starttime));
if (1-(time()-$starttime) > 0)
sleep(1-(time()-$starttime));

*/
/* } */
?>

}
?>

0 comments on commit 7dec240

Please sign in to comment.