Heya,
I written a data-mining php script that when run, takes over an hour to complete. I initially tried running the script through an internet browser (Internet explorer), and although set_time_limit is set to zero, eventually Internet Explorer decided it had been waiting for the page to load for too long (about half an hour) and gave me a 404 error, effectively stopping my script short (and its data-mining).
I have heard about using PHP.exe to directly run my script, seems I do not require any output (only mysql functions). I have a couple of questions though:
- Will running my script through PHP.exe, as opposed to through a browser, allow me to run the script 'indefinately' (or however many hours I need it to run)?
- How would I go about running my script using PHP.exe to run my script on my computer?
Thankyou.