Make sure what the sleep command is defaulting to for time. The one I'm using is in milliseconds so a 20 second delay is 20000. I think mine is from the resource kit. Dirk Blose, MCSE, CCA Lead Technical Analyst (919) 765-4791 dirk.blose@xxxxxxxxxx >>> mc@xxxxxxxxxx 10/08/04 06:30AM >>> Try sleep, eg. Sleep 20 or sleep 30 -----Original Message----- From: dmauri@xxxxxx [mailto:dmauri@xxxxxx] Sent: 08 October 2004 10:43 To: thin@xxxxxxxxxxxxx Subject: [THIN] OT: delay command Hi all, I want to schedule a cmd file that stops and starts a service. and I want to wait for 20 o 30 seconds before start again. What is the program to do this? I don't remember. Thanks- ******************************************************** This Weeks Sponsor RTO Software Do you know which applications are abusing your CPU and memory? Would you like to learn? -- Free for a limited time! Get the RTO Performance Analyzer to quickly learn the applications, users, and time of day possible problems exist. http://www.rtosoft.com/enter.asp?id20 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm