title: Crontab to run a java shell script on linux
body: <p>Am writing a simple java script to send email it works perfectly however it does work in the
  crontab.
  the command sh sendmail.sh works</p>
  
  <p>Here is my crontab command from crontab -e</p>
  
  <pre><code>*/5 * * * * sh  user /home/user/classes/sendmail.sh
  </code></pre>
  
  <p>I expect this to work and send mail every 5 minutes but it doesn't work</p>
  
  <p>However the command <code>sh sendmail.sh works</code></p>
  
  <p>I need help on the crontab </p>