title: Cron Job $_SERVER issue
body: <p>I want to run a cron job. My application is developed in PHP and Mysql.</p>
  
  <p>In browser if i use <code>$_SERVER[HTTP_HOST]</code> in coding, it works fine. But if I use the same thing in cron job it is giving errors.</p>
  
  <p>Can any body give suggestion to fix this?</p>