search

Home  >  Q&A  >  body text

thinkphp3.2.3 scheduled task problem

Please tell me how to execute tasks regularly using thinkphp3.2.3. What if I want to execute a method in the controller regularly? I have given an example of how to operate at 12 o'clock every day. Thanks.

给我你的怀抱给我你的怀抱2715 days ago1080

reply all(2)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-20 10:09:37

    Linux crontab

    
    0 0 * * * curl -4 http://www.example.com/index/index/daily

    reply
    0
  • typecho

    typecho2017-06-20 10:09:37

    Use scheduled tasks under Windows and crontab scheduled task tool under Linux. How to write it specifically, you can go to Baidu

    reply
    0
  • Cancelreply