title: Crontab that executes shell script every minute
body: <p>I have made a shell script on my red hat server that needs to be run every minute. My script is located in <code>/media</code>. I have edited the crontab like so:</p>
  
  <pre><code>* * * * * /media/statusshellscript.sh
  </code></pre>
  
  <p>My script is definitely in the location above and I know that 5 stars means run every minute. </p>
  
  <p>oh.. and my script definintely works! because when I do a ./statusshellscript it works fine. Here is my script anyway, it basically just runs a php script I made which made life easier.</p>
  
  <pre><code>#!/bin/bash
  # Script to execute the PHP Script
  
  cd ~
  cd /media/PHPServerTest
  php -f index.php
  </code></pre>
  
  <p>Crontab is doing absolutely nothing at the moment. Not sure what to try next?</p>
  
  <p>Also.. permissions shouldn't be a problem as i've done <code>chmod 777 statusshellscript</code>.</p>