title: Linux run php script on boot
body: <p>openSuSE 13.2 when it's finished starting up I want to automatically run a php script and keep it running in the background. The script is a loop that never ends.. so once launched it shouldn't stop.</p>
  
  <p>It doesn't need to write out any information to screen it will take care of that and generate it's own log file and emails as needed.</p>
  
  <p>In the past I've used the following with bash scripts, but it doesn't work for php.  I don't see this as a duplicate question as they relate to bash scripts etc NOT PHP.</p>
  
  <pre><code>- cp &lt;yourscriptname&gt; /etc/init.d/
  - insserv &lt;yourscriptname&gt;
  
  chkconfig --list | grep &lt;yourscriptname&gt;
  </code></pre>
  
  <p>Can anyone advise the best way to do this.</p>
  
  <p>Thanks</p>