title: Need to write a script that runs two scripts, but needs to stop the first one before the 2nd runs
body: <p>This is a CentOS 6.x box, on it I have two things that I need to run one right after the other - a shell script and a .sql script.</p>
  
  <p>I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours, and then calls the .sql script (they can't run simultaneously).</p>
  
  <p>I'm unsure how to do the middle part, that is terminating the first script after a certain time limit, any suggestions?</p>