CodeIgniter not running cronjob configed by cPanel

Must use /usr/local/bin/php instead of /usr/bin/php / php / php-cgi
Or otherwise PHP will only run index.php without arguments, which produces empty result.

CPanel is bugging me always.

Source: http://stackoverflow.com/questions/10322587/codeigniter-command-line-cron-cpanel

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.