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.77.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file joes-ntpdate-1.9.77.tar.gz
.
File metadata
- Download URL: joes-ntpdate-1.9.77.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351e31e0f901c0627900cb1dfd3013a70c10dc8aa413efbf3d432d8ad46560c2 |
|
MD5 | e18a13418406a9a20fae677a467a47dc |
|
BLAKE2b-256 | 5d83f0b9ffceb4ae347719a95e1c182674c6036b6775d99724499dd7d10d5f7e |
File details
Details for the file joes_ntpdate-1.9.77-py2.py3-none-any.whl
.
File metadata
- Download URL: joes_ntpdate-1.9.77-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f899065e40769f1cf91b82fea00a672c3399fe4d8f7584ea0510508062d8573d |
|
MD5 | 69672fc43c4c70efe8357b4e8ce28863 |
|
BLAKE2b-256 | 287f083e1ddca11ab7dc0ea533a9baefd8f6341efc706cba48ba61662420fab6 |