Hello,
I want to set up a cron job to run my php script. I think I will be using lynx but my question is, since my script is a pretty intense script that creates a file with a bunch of records, I am afraid that it will get timed out just like when we're using regular browser. How do I get away with this? Is changing the php.ini the only way out of this? or is there any other better approach to this problem?
THanks, Renny
Well, you can run php from the command line, so lynx is not neccesary. And to up your max execution, you can run
ini_set("max_execution_time", $new_time);
from your script, so you don't need to make any permanent changes to your ini file.