PHP script launching multiple times
<p>I have a PHP script that launches another script in the background. Recently my host upgraded PHP and this pair relaunches the background script multiple times a second where it should only be launching once.</p>

<p>I reduced the two scripts to their most basic form and they still have the problem.</p>

<p>start.php:</p>

<pre><code>&lt;?php exec("/home/s*****/public_html/sandbox/process/pushupdate.php &amp;"); ?&gt;
</code></pre>

<p>and pushupdate.php:</p>

<pre><code>#!/usr/bin/php -q
&lt;?php mail('*********@gmail.com', 'test output', 'testing'); ?&gt;
</code></pre>

<p>The email never gets sent, but that may be a problem with my hosting company.</p>
