title: Permission denied with bash.sh to run cron
body: <p>How to run a cron with bash script here.What i did as follows and here with errors.I want to know how to do that in ubuntu.I was struck with it now  </p>
  
  <p>bash.sh file </p>
  
  <pre><code>#!/bin/bash
  cd /var/www/Controller
  /usr/bin/php post.php
  </code></pre>
  
  <p>In crontab -e</p>
  
  <pre><code>* * * * * /home/samitha/bash.sh &gt;&gt; /home/samitha/log/cron.log 2&gt;&amp;1
  </code></pre>
  
  <p>But now i getting following error</p>
  
  <pre><code>/bin/sh: 1: /home/samitha/bash.sh: Permission denied
  </code></pre>
  
  <p>How will i fix it ? what i did wrong ? </p>