Joe自己的ntpdate:通过NTP设置日期和时间
项目描述
Joe的自己的ntpdate
通过NTP设置日期和时间。
如果适用,假定使用bsd或gnu date(1)和gnu hwclock(8)。
此实现不会胡乱操作。它需要root权限,并将操作系统和硬件时钟设置为给定ntp服务器找到的任何值。
usage: joes-ntpdate [-h] [--set-system] [--set-hwclock] [--retries [N]] [--backoff-factor N] [ntp_host] Joe's own ntpdate: report or set clock by remote ntp host. positional arguments: ntp_host remote ntp host to synchronize clock with. (default: pool.ntp.org) optional arguments: -h, --help show this help message and exit --set-system Set system clock to remote time. (default: False) --set-hwclock additionally, set hardware clock. May do nothing on platforms without hwclock(8) (default: False) --retries [N] retry on failure up to N times. (default: 30) --backoff-factor N retry backoff each step, sleep for {{<backoff-factor> * <retry-step>}} (default: 2.0) Assumes bsd or gnu date(1) and gnu hwclock(8) if applicable.
此包使用ntplib
项目详情
关闭
joes-ntpdate-1.9.78.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 6b23b727aae86bc88f7511621c7e2d7284e112078c95f11beef3930f016277d3 |
|
MD5 | 478c11c8dc08b971f9751105cba2061b |
|
BLAKE2b-256 | 1ca8c9a321e37e85601a39397c5d0d073197065b1b94773df571257ec82b6a9c |
关闭
joes_ntpdate-1.9.78-py2.py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e8436d18b5ddb76b21f5e40bd16c2103acbd766035fbe3e477524a97909c1b73 |
|
MD5 | c62ca7ac2e6e1df725c70c8a271cfa3a |
|
BLAKE2b-256 | 8e1e8f76effa9f60bd8135cd3202601e4cdb9eaebb7cb182df11a99a520638cd |