title: Meta refresh (refresh only browser)
body: <p>Can someone please tell me when I do "meta refresh" like below,will that also run <code>bash program-run-tmp-directory3.sh &amp;&gt; stdout.out &amp;</code> again? OR, only the browser will be refreshed keeping the <code>apache</code> alive?  </p>
  
  <p>"<em>pid</em>" is the "process ID" of the program run in the background. </p>
  
  <p>If this code below also reruns the program <code>bash program-run-tmp-directory3.sh &amp;&gt; stdout.out &amp;</code>. Please let me know how can I avoid it?                    </p>
  
  <pre><code>#!/bin/sh
  echo "Content-type: text/html"
  echo ""
  bash program-run-tmp-directory3.sh &amp;&gt; stdout.out &amp;
  pid=$!
  
  if [[ `ps -p $pid | wc -l` -gt 1 ]]
  then
      output="Program is running. Running time depends on the number of alternatively spliced proteins the submitted gene has. Results will be displayed here."
      echo "&lt;html&gt;"
      echo "&lt;head&gt;"
      echo "&lt;meta http-equiv=\"refresh\" content=\"10\"/&gt;"
      echo "&lt;/head&gt;"
      echo "&lt;body&gt;"
      echo "&lt;table width=\"750\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;"
      echo "&lt;tr&gt;&lt;td&gt;&lt;img src=\"../../images/calc.gif\" align=\"absmiddle\"&gt; &lt;strong&gt; $output &lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;"
      echo "&lt;/table&gt;"
      echo "&lt;/body&gt;"
      echo "&lt;/html&gt;"
  fi
  </code></pre>
  
  <p>Thanks.</p>