Joe's own ntpdate: set the date and time via NTP
Project description
Joe’s Own ntpdate
Set the date and time via NTP.
Assumes bsd or gnu date(1) and gnu hwclock(8) if applicable.
This implementation doesn’t mess around. It requires root privileges, and sets the operating system and hardware clock to whatever value is found by the given ntp server.
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.
This package uses ntplib
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
joes-ntpdate-1.9.78.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for joes_ntpdate-1.9.78-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8436d18b5ddb76b21f5e40bd16c2103acbd766035fbe3e477524a97909c1b73 |
|
MD5 | c62ca7ac2e6e1df725c70c8a271cfa3a |
|
BLAKE2b-256 | 8e1e8f76effa9f60bd8135cd3202601e4cdb9eaebb7cb182df11a99a520638cd |