title: Crontab in Raspberry pi doesn't run a very simple script
body: <p>I'm new to Linux and I've been struggling with this issue for a while in my Raspberry Pi and had no success.</p>
  
  <p>First I wrote a simple script in <code>/home/myfile.sh</code> like this:</p>
  
  <pre><code>#!/bin/bash
  clear
  echo "hi"
  </code></pre>
  
  <p>Then I did the <code>sudo chmod 755 /home/myfile.sh</code> to grant the permissions.</p>
  
  <p>And finally I modified the <code>crontab</code> using <code>crontab -e</code>:</p>
  
  <pre><code># some comments ...
  * * * * * /home/myfile.sh
  </code></pre>
  
  <p><strong>The problem:</strong></p>
  
  <p>When I run the script manually it works fine but when I set the above line in my <code>crontab</code>, nothing ever happens. What am I doing wrong?</p>