How to solve the problem of TP framework 3.1.3 executing scheduled tasks on the command line, and an error occurs when executing scheduled tasks on the command line
First cd into the website directory
Then php index.php Home/index
Of course you have to add php as an environment variable