Discussions
Server Script Timeouts
Hi all,
I have a scheduled script that timeouts since it takes more than 10 minutes to operate.
The script goes through each opportunity in a list and then does a lookup on a client list based on its client number. It then performs a calculation for each opportunity.
I am now getting this timeout error due to the fact that we the opportunity list has increased. It looks like it is timing out after the scripts goes and executes the search for the client list.
Is there anyway of optimizing my code to prevent this timeout from occurring? Please refer to my code below.