Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christoph-jerolimov/wait-until
a tiny wait-until tool
https://github.com/christoph-jerolimov/wait-until
Last synced: 28 days ago
JSON representation
a tiny wait-until tool
- Host: GitHub
- URL: https://github.com/christoph-jerolimov/wait-until
- Owner: christoph-jerolimov
- Created: 2022-12-06T10:10:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T21:28:07.000Z (almost 2 years ago)
- Last Synced: 2024-11-25T12:16:11.832Z (28 days ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tiny wait-until tool
If you want pause a script or delay a program execution until a specific time.
```bash
wu h[:m]
```Example:
```bash
wu 10 && make build
```If the time passed today, it waits until tomorrow. It supports also negative numbers.
Let's say it's 9:15 (am):
```bash
wu 9 # wait until tomorrow 9:00
wu 10 # wait until 10:00
wu 16 # wait until 16:00
wu 24 # wait until tomorrow 0:00
wu 25 # wait until tomorrow 1:00
wu -2 # wait until 22:00wu 9:10 # wait until tomorrow 9:10
wu 9:20 # wait until 9:20
wu 16:30 # wait until 16:30
wu 26:90 # wait until tomorrow 3:30
wu 24:-5 # wait until 23:55
```