title: Permission denied for running cron job
body: <p>I have codeigniter cron jobs in controller in /data1/src/test1.
  I am running one of the methods in controller present in above code. so i run the cron as follows</p>
  
  <pre><code>30 08   *   *   * /usr/bin/php  /data2/src/test/index.php controller method1 &gt; /tmp/test.log 2&gt;&amp;1.
  </code></pre>
  
  <p>Test folder is codeigniter framework and controller1.php is present in controllers folder.and method1 is function inside this controller class.</p>
  
  <p>But when this cron runs.I get error in log file as permission denied.
  Please guide me for scheduling cron in codeigniter</p>