title: PHP Cron Job: Including file not working?
body: <p>i run a cron job every night, but for some reason, it is saying that the file i try to include is inexistant:</p>
  
  <pre><code>Warning: require(../includes/common.php): failed to open stream: No such file or directory in /home/fini7463/public_html/cron/journeyNotifications.php on line 2
  Fatal error: require(): Failed opening required '../includes/common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fini7463/public_html/cron/journeyNotifications.php on line 2
  </code></pre>
  
  <p>here's the code:</p>
  
  <pre><code>set_include_path('/home/fini7463/public_html/includes/');
  require 'common.php';
  </code></pre>
  
  <p>the file 'common.php' is located as follows</p>
  
  <pre><code>public_html =&gt; cron     =&gt; journeyNotifications.php
              =&gt; includes =&gt; common.php
  </code></pre>
  
  <p>i even set the include path (as shown in the code), but i am still getting this error. what could the problem be?</p>
  
  <p>thanks!</p>