title: Kill specific process on ssh greater than one minute
body: <p>I have some shell script as below, </p>
  
  <p>I want to run this process for only 1 minute. </p>
  
  <p>So I want to check the process time and kill the process if it runs > 1 minute. Can anyone help me please?</p>
  
  <pre><code>var=`ps -eaf | pgrep -f getShippingPriceUK.php | wc -l`
  if [ $var -lt "1" ]; then
  echo "Prozess läuft nicht"
  wget -q --timeout=0 --delete-after http://xxxx/001_yakodo/getShippingPrice12.php &gt; /dev/null 2&amp;&gt;1 &amp;
  else
  echo "Prozess läuft"
  fi
  </code></pre>