I need to run a script every night that connects to a Web Service via SOAP with a maximum return of 45000 records.
I can set how many records to return and it seems that the limit is 1000 before I hit the max_execution_time limit.
What would be the best way to automate this script to get all 45000 records? Surely there is a better way than to do 45 cron jobs?
This should help
http://php.net/manual/en/function.set-time-limit.php