如果我使用控制器路径,Cron作业不起作用

This is the way i m using from set this link to my server but they not execute properly with my schedule time/cronjob one more think there is no coding issue.....

env php -q/http://www.oriify.com/index.php/cronjob/index

can you please help me out

Just use a wget instead of PHP. You are using a web address and PHP doesn't work that way. WGET performs a HTTP query which also allows for your environment vars.

wget "http://www.oriify.com/index.php/cronjob/index" -O /dev/null

I'm sure some might argue it's not proper and that running it locally is best, but locally doesn't allow for .htaccess and such.

I did not get why you are running "env php" and not "php". Except from that, from what I see here you are trying to run an url using php and this is not normal.

just try to run the lines you have in your crontab first and see if they work. It think that a good place to start would be to replace the url to a script with the path to it and to replace that slash and replace it with a space (if what you want to do is to run a script in quiet mode)