How does php determine the first execution of a file? How does php determine the first execution of a file (test. php) I want to implement a function similar to the regular clearing of junk posts in a forum: several methods of php scheduled task execution to find a frequently called webpage, add a detection code Forum to regularly clean up new posts, which is basically implemented in this way, Discuz! It is determined that the first executor will execute after. ------ Solution -------- how does php determine the first file to be executed?
How does php determine the first file (test. php) to be executed after)
I want to implement a function similar to the regular clearing of spam posts in a forum:
Several methods for php scheduled task execution
Find a frequently called webpage with a detection code
This is basically how to regularly clean up new posts on the forum, Discuz! It is determined that the first executor will execute after.
------ Solution --------------------
If it is linux, write a cleanup method and put it into the website. in linux, run the crontab command to regularly access this webpage ......
------ Solution --------------------
This function is available if the page triggers Discuz.
If it is automatically triggered by no one, the system's scheduled tasks.
Or refer
Http://topic.csdn.net/u/20100927/10/9b6e5655-617d-44fc-b63c-cd9cbd31ca6e.html? 95672