Skip to main content
Travis Continous Integration Coveralls Code Coverage Latest Version License Downloads

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

Metadata

Release files for joes-ntpdate 1.9.78

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for joes-ntpdate 1.9.78
File Size Uploaded
joes-ntpdate-1.9.78.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for joes-ntpdate 1.9.78
File Interpreter ABI Platform
joes_ntpdate-1.9.78-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 16.6 kB

Release files / joes-ntpdate-1.9.78.tar.gz

Download URL joes-ntpdate-1.9.78.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6b23b727aae86bc88f7511621c7e2d7284e112078c95f11beef3930f016277d3
BLAKE2b-256 checksum
How to use checksums
1ca8c9a321e37e85601a39397c5d0d073197065b1b94773df571257ec82b6a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / joes_ntpdate-1.9.78-py2.py3-none-any.whl

Download URL joes_ntpdate-1.9.78-py2.py3-none-any.whl
Size 9.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e8436d18b5ddb76b21f5e40bd16c2103acbd766035fbe3e477524a97909c1b73
BLAKE2b-256 checksum
How to use checksums
8e1e8f76effa9f60bd8135cd3202601e4cdb9eaebb7cb182df11a99a520638cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.9.78 This release

2 release files

1.9.77

2 release files

1.9.76

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page