I have a script, lets call it linkchecker, that loops through about 10.000 URLs, checking them for http status codes. When they are checked, the url is marked as checked in my DB. It wont output anything until its done, which can take many hours.
So I thought about just having another script that will run the linkchecker in the background, while continually polling the DB about how many URLs are checked, so I can follow the progress, and if any URLs are giving a problem with long connection time and so on.
I tried just running the linkchecker in an iframe, but nothing will load until the linkchecker has finished.
How can i execute this linkchecker in the background while the main script runs normally, executing other tasks?
max_execution_timewould get in your way eventually, when running the script in an iframe.