php - How to solve the problem of command line execution of scheduled tasks in TP framework 3.1.3
某草草2017-06-21 10:11:16
0
1
956
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