Forums
This topic is locked
set interval in while loop?
Posted 12 Jun 2003 16:35:20
1
has voted
12 Jun 2003 16:35:20 Scott Burtscher posted:
Is there a way to run a while loop that will only execute at a set interval? I'm trying to upload a file to the server and when it gets there, attach it to an email. As you can imagine, a while loop and file upload together kill the server. So I'm hoping for a way to upload the file and only run the while loop every x seconds.Any thoughts or work arounds will be appreciated.
Replies
Replied 12 Jun 2003 23:05:31
12 Jun 2003 23:05:31 Brad Hitt replied:
Try using a SetTimeOut function to count until it runs the next loop.