CodeIgniter Cron Job on Shared Hosting?
问题 I am trying to learn how to do my first cron job using CodeIgniter. In the past, it seemed the only way to do this with CI was to use the wget command instead of php . The CodeIgniter User Guide, however, says that now you can do this from the command line, for example by running: $ cd /path/to/project; $ php index.php controller method This works great using Terminal on my local setup. But when I use a similar command in the cron section of cPanel on my shared hosting, the task just returns