Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

This version
History Node

1.9.78

History Node

1.9.77

History Node

1.9.76

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
joes_ntpdate-1.9.78-py2.py3-none-any.whl
(9.7 kB) Copy SHA256 Hash SHA256
Wheel 2.7 May 22, 2015
joes-ntpdate-1.9.78.tar.gz
(6.9 kB) Copy SHA256 Hash SHA256
Source None May 22, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting