Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Timeout

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1319
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Timeout
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Timeout - 9/3/2004 4:40:01 AM   
  aahmed

 

Posts: 1
Score: 0
Joined: 9/3/2004
From:
Status: offline
Hi,

I'm trying to figure out if there is a way to timeout of part of a script. I have a script that runs a WMI query on computer names that are picked out of an excel spreadsheet in a loop. It picks one machine, runs the query and moves on to the next row. Some machines however, that don't have the WMI service running, the script hangs on them, is there a way to timeout of just part of that script? Like a do until or do while?

Thanks.
 
 
Post #: 1
 
 Re: Timeout - 6/11/2005 3:53:35 AM   
  theeye

 

Posts: 9
Score: 0
Joined: 6/11/2005
From: USA
Status: offline
Try utilizing the wscript.timeout = #seconds method.

(in reply to aahmed)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Timeout Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts