thinkphp3.2.3 scheduled task problem
给我你的怀抱
给我你的怀抱 2017-06-20 10:07:37
0
2
1040

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.

给我你的怀抱
给我你的怀抱

reply all(2)
过去多啦不再A梦

Linux crontab


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

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!