for ($cou=0;$cou<100;$cou+=0) { ##update code goes here; sleep 300; }