none
re-run vbs script with time interval. RRS feed

  • Question

  • i have some vbs script and i want it to run automatically after each 10minutes. (No task scheduling). any line of code outside/inside same script which runs wanted vbs file with 10min interval.Thanks
    Saturday, June 14, 2014 8:06 AM

Answers

  • i have some vbs script and i want it to run automatically after each 10minutes. (No task scheduling). any line of code outside/inside same script which runs wanted vbs file with 10min interval.Thanks

    Here you go:

    do
       MyCode
       wscript.sleep 600000
    loop

    Sub MyCode
       'Your script goes here
    End Sub

    Saturday, June 14, 2014 8:21 AM