How to setup cron job for a codeigniter script on server
Use /usr/local/bin/php
instead of php
to get codeigniter to pick up on the URI segments.
so try this if it works
/usr/local/bin/php /home/name/public_html/index.php stockupdate index
I used this commend
/usr/bin/curl http://example.com/controller/method
You can put ob_start()
in your config file to remove the last two errors.