title: bash script to kill php process older then an hour
body: <p>I have the following:</p>
  
  <pre><code>kill -9 `ps aux | grep php | awk '$9 !~ /[0-9]:[0-9]/' | awk '{print $2}'`
  </code></pre>
  
  <p>What it does is kill process that have been left abandoned by fcgid and kills them to free RAM. I want to run this as a cron every hour but would like to kill processes older then an hour. I'm just not sure how to modified the script to do that. </p>