1
I have the.php upload file and I need it to run in the background while my application is used by users. The file send.php instance a pool of Threads that make specific uploads from my system to the world. I believe that the OS (Linux/Freebsd) or even apache have this kind of support already implemented.
When will this script start? Does it depend on the user action? Or will select run endlessly on the server?
– Ivan Nack
It will run in the background endlessly.
– willian rodrigues andrade
Run it through the shell, with & at the end and redirect the output to some log. a cron is a good output, if it is periodic. Running Apache is extremely problematic, not only because of the timeout issue, but also because it unnecessarily occupies Apache with something that is not meant to serve client pages.
– Bacco