How the yii Framework creates scheduled tasks through console commands
This article will explain in detail how the yii framework creates scheduled tasks through console commands. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Assume that the Yii project path is / home/apps/
1. Create a file / home/apps/protected/commands/crons.php