I am writing a php file which will be called by crontab job daily to update my database. However, it takes too long to run it. It always go time out. I don't know how I can figure this problem out.
Is it php timing out???
If so, you can add this to the top of your script:
set_time_limit(0);
That will get rid of any time out value for your script.
-- Jason