title: How to restart a process every 4 hours using crontab?
body: <p>Could someone tell me how to restart a process every 4 hours using crontab? I have a Starbound server running (which is a game like Terarria which recently came out) and it's taking a lot of resources, so I'd like to kill the process then start it back up every 6 hours.</p>
  
  <p>What I think I would need to do in crontab is:</p>
  
  <p>kill -9 | grep starbound_server
  cd /home/steam/starbound/linux64 &amp;&amp; screen -S starbound -d -m ./launch_starbound_server.sh</p>
  
  <p>But I am not sure about this and don't understand the time thingy either.</p>
  
  <p>I hope someone can help me :)</p>