0
0
mirror of https://github.com/bobwen-dev/htpdate synced 2025-04-11 23:00:44 +02:00

Update README.md

This commit is contained in:
bobwen-dev 2021-01-25 14:39:30 +08:00 committed by GitHub
parent 0e6cfb8b29
commit 8507c51777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,13 @@ A tool to synchronize system time with web servers.
## Examples
Get time from multiple URLs
Synchronize time from multiple URLs
```bash
htpdate -s www.pool.ntp.org www.openssl.org nodejs.org
```
Query time from multiple URLs
```bash
htpdate www.pool.ntp.org www.openssl.org nodejs.org
@ -13,7 +19,7 @@ htpdate www.pool.ntp.org www.openssl.org nodejs.org
Change default protocol to 'http'
```bash
htpdate --protocol http www.pool.ntp.org
htpdate -s -p http www.pool.ntp.org
```
Mix http url and https url