title: Php, how to program "crontasks" if server doesnt support this?
body: <p>So, site is on a production server which doesnt support crontasks. And I want to delete invalid password requests, not used discounts, anything which are over a "deadline". Its not problem they are not precise, its not a problem if a password request is valid for 24 hours and its 24 hours and 58 second (so they can be in late for some seconds).</p>
  
  <p>Currently Im doing it like that:</p>
  
  <pre><code>private function thisMethodRunsAtEveryRequests()
  {
      if (rand(1,100) == 1)
      {
          do cleaning SQLs
      }
  }
  </code></pre>
  
  <p>still, there are problems when it triggers at the same time.</p>