title: Cron jobs in codeigniter
body: <p>I am trying to do a cron job with a site built in CodeIgniter - I've got access to the CPanel cron feature can anyone suggest the best way to setup a cron job using CPanel?</p>
  
  <p>I am using CodIgniter so cannot be sure how to call a controller within a cron job?</p>
  
  <p>E.g <code>http://admin.com/sites/publish/</code></p>
  
  <p>How would I access this publish function within the sites controllers using a cron job? </p>