I\'ve tried the following method in the past:
There is a wiki article about how to run CodeIgniter on the command line, but this is more useful for applications that need to interact with the user through terminal (there's a library for that too).
http://codeigniter.com/wiki/CI_on_the_command_line/
One benefit of doing it this way over using wget is you can protect your code from being run by users or bots with:
if(!empty($_SERVER['HTTP_HOST']))
{
show_error('Shove off hax0r!');
}