Why does this take longer in a loop?
I have the following code. If I run it for a single date it takes about a minute to run, however when I set up the loop to run through just a few days, it runs for ages then fails.
I have the following code. If I run it for a single date it takes about a minute to run, however when I set up the loop to run through just a few days, it runs for ages then fails.