I have a scheduling program in a web application written in PHP and MySQL, that times out every time it is run without fail. It does it's job, it just doesn't get to the end before the server times out, so my users need to keep launching it until all of the schedule slots are filled. I do not believe that I can make my process much more efficient than it currently is, so I need to figure out a way for the server to keep running it, even though it may take a long time (ie. 5 - 10 minutes)
My thought is that it must be possible to give the process over to the server so that it is not associated with the user's session. I suspect that if I were to run the process via Cron, it would run to completion without timing out.
What are my options here? My app is hosted on a regular, everyday LAMP provider where I only have as much control as offered by the cPanel.