|
Home > Archive > MS SQL Server DTS > July 2005 > Sleep() in JScript under DTS.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Sleep() in JScript under DTS.
|
|
|
| Hello!
Is there any way to pause execution (Sleep) in java script
under DTS? WScript.Sleep() doesn't work. As I understand
sure workaround is to build my own activex with one method
Sleep(), but may be there is some simpler method.
Any ideas?
Thank you,
Yaroslav
| |
| Ilya Margolin 2005-07-25, 9:29 am |
| Mike,
You could use Sleep.exe from Windows SDK executing it in Execute Process
task. My favorite one is using Execute SQL task with WAITFOR statement, but
that is when SQL Server is available.
Ilya
"Mike" <yaroslav.levchenko@gmail.com> wrote in message
news:1122047138.626200.159470@g44g2000cwa.googlegroups.com...
> Hello!
>
> Is there any way to pause execution (Sleep) in java script
> under DTS? WScript.Sleep() doesn't work. As I understand
> sure workaround is to build my own activex with one method
> Sleep(), but may be there is some simpler method.
>
> Any ideas?
>
> Thank you,
> Yaroslav
>
| |
|
| Ilya,
Thank you! WAITFOR worked like a charm!
Mike
|
|
|
|
|