How to call a function continuously in background in php? : <p>I have created a function which check the expired allotments and then update the database. Currently, it is not running automatically. I have to call it again and again.</p>

<pre><code>         function checkAndUpdate()
         {
             ...
             ...
         }
</code></pre>

<p>I want some ways to call this function continuously in background.</p>

<p>How to do it in php? </p>
