I have a PHP web app on Justhost (webhosting provider).
This PHP web app uses the Codeigniter framework.
To run cron jobs on this web app (http://codeigniter.com/user_guide/general/cli.html):
php /home/user/path_to_file/index.php cron daily
It works on my development laptop, MacOSX. But the results of the cron job emailed to me indicate that the default login page was executed. The web app could not detect the arguments passed in.
Is there something wrong with the way I wrote the command for a cron job?
I can use wget as a workaround but only as a last resort.