AnsweredAssumed Answered

Pausing Every 50th Record in a Loop

Question asked by MarcDolley on Dec 4, 2016
Latest reply on Dec 5, 2016 by MarcDolley

I did already figure out a solution to this, but I'm curious to know how others would solve it.

 

I have a found set of records, currently 366 but changing every week. I need to run a scripted process on each record via a loop, but for reasons which are irrelevant to this question, I need to pause for 30 seconds every 50 records. I am setting a variable called $counter after each record is processed.

 

How would you solve it?

 

Marc

Outcomes