Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5724
  • Last Modified:

Sleep command

Hi,

How many minutes/seconds when I do "sleep 1000" in my batch script?

Thanks!
0
shellyp
Asked:
shellyp
  • 8
  • 2
1 Solution
 
Pete LongTechnical ConsultantCommented:
1000 seconds!

Pete
0
 
Pete LongTechnical ConsultantCommented:
16 mins 40 seconds
0
 
shellypAuthor Commented:
Thanks PeteLong.  So, If i do "sleep 1", that's 1 sec.  Right?  thx.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Pete LongTechnical ConsultantCommented:
Sleep Syntax

--------------------------------------------------------------------------------

sleep time

Where:
time
is the number of seconds to pause.
For example:

Add a line in a batch file to pause the batch for an hour before running the next command in a batch file.
sleep 3600
Wait 10 seconds before running next command:
sleep 10
http://www.tburke.net/info/reskittools/topics/sleep_syntax.htm
0
 
Pete LongTechnical ConsultantCommented:
You are correct my friend Yes :)
0
 
Pete LongTechnical ConsultantCommented:
a better link http://www.ss64.com/nt/sleep.html just so you know Im not fibbing ;)
0
 
Pete LongTechnical ConsultantCommented:
Is that OK?
0
 
Pete LongTechnical ConsultantCommented:
oh youve allready closed it LOL

ThanQ - I posted to your other question also :)

Pete
0
 
shellypAuthor Commented:
Thanks for your help!
0
 
Pete LongTechnical ConsultantCommented:
No - ThanQ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 8
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now