Running Cron with godaddy

Hey-o, I need to setup a cron job to run every half an hour to visit a url on my website, the url isn’t an actual file though as I’m using codeigniter, so the url:

mysite.com/articles/grabarticles doesn’t exist, so I made a link like:

mysite.com/grabarticles.php which does a header redirect to the above url, now it works when I visit it just fine, however when I run a cron job and I get the results emailed to me, I get a 302 temporarily moved, though it hasn’t been.

Any thoughts?

Review your cron job for any relative links is one guess. A cron job doesn’t have any of your user environment or paths.