search

Home  >  Q&A  >  body text

php - How to solve the problem of command line execution of scheduled tasks in TP framework 3.1.3

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

某草草某草草2709 days ago935

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-06-21 10:13:16

    First cd into the website directory
    Then php index.php Home/index
    Of course you have to add php as an environment variable

    reply
    0
  • Cancelreply