Recent Releases of sleep.cmd

sleep.cmd - Sleep for specified time in Windows Command prompt

Sleep for specified time in Windows Command prompt.
🖥️ Command prompt, 📜 Files.

sleep is a command in Unix-like operating systems that suspends program execution for specified time. This package provides the sleep command for Windows Command prompt, with exactly the same behaviour as in Unix-like systems. Please check examples below. Source code for the executable is written in C#. It should be noted small delays (few milliseconds) are less accurate.

Stability: Stable.


```bash

Install on Windows

$ npm install -g sleep.cmd ```


```bash $ sleep [unit] | [option]

Units:

s: sleep for number seconds.

m: sleep for number minutes.

h: sleep for number hours.

d: sleep for number days.

Options:

--help: get help

--version: get version details

```


```bash

sleep for 0.1 seconds

$ sleep 0.1

sleep for 1.23 minutes

$ sleep 1.23m

sleep for 1 day 23 hours

$ sleep 1d && sleep 23h ```



References



DOI

- C#
Published by wolfram77 over 3 years ago

sleep.cmd - Sleep for specified time in Windows Command prompt (initial release)

Sleep for specified time in Windows Command prompt.
🖥️ Command prompt, 📜 Files.

sleep is a command in Unix-like operating systems that suspends program execution for specified time. This package provides the sleep command for Windows Command prompt, with exactly the same behaviour as in Unix-like systems. Please check examples below. Source code for the executable is written in C#. It should be noted small delays (few milliseconds) are less accurate.

Stability: Stable.


```bash

Install on Windows

$ npm install -g sleep.cmd ```


```bash $ sleep [unit] | [option]

Units:

s: sleep for number seconds.

m: sleep for number minutes.

h: sleep for number hours.

d: sleep for number days.

Options:

--help: get help

--version: get version details

```


```bash

sleep for 0.1 seconds

$ sleep 0.1

sleep for 1.23 minutes

$ sleep 1.23m

sleep for 1 day 23 hours

$ sleep 1d && sleep 23h ```



References



- C#
Published by wolfram77 almost 4 years ago