title: Running PHP File on a Cronjob in cPanel
body: <p>I have a file called automate.php with a mysql connection string and a few PHP/SQL Queries and I want to run the file on a Cronjob.</p>
  
  <p>I have tried just using the full URL like:</p>
  
  <pre><code>http://www.domain.com/script.php
  </code></pre>
  
  <p>the local path:</p>
  
  <pre><code>/home/your_username/public_html/script.php
  </code></pre>
  
  <p>and also:</p>
  
  <pre><code>php -f -q /home/your_username/public_html/script.php
  </code></pre>
  
  <p>i get an email every time it is run and its just saying: <em>No input file specified.</em></p>
  
  <p>what am i doing wrong?</p>