Skip to content
Advertisement

Tag: yii2

Yii2 call the console command not from the project folder

Hello. I created the console command in Yii2: I want to call this command in cron,and for testing I try to call it from the console, when I’m in the project folder: Everything works fine. But, if I call this command when I’m in a different directory, I get some errors. First, i got Seeing this, I commented configuration of

Advertisement