Create a .bat file which should contain the command for running your Yii console app controller/action. If you create a controller class TestController that extends yii\console\controller and add a create action, to run that action from Yii console application you. read more…