title: Sleep function on php
body: <p>As a possible alternative to using cron jobs, I found the sleep function. I have never used this before. </p>
  
  <p>If I tell my script to run inside a kind of loop, and inside that loop I have an instruction like this</p>
  
  <pre><code># sleeps for 86400 seconds or one day
  sleep(86400);
  </code></pre>
  
  <p>will my script be launched again after 1 day? even if don't access it on my web browser again within that period?
  I think is not possible, but I'm here to ask an expert about it.</p>