Giter Club home page Giter Club logo

htpdate's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

htpdate's Issues

timestamps return as negative numbers

user@gnu64:~$ sudo htpdate -4 -t -d -s google.com 
burst: 1 try: 1 when: 500000
google.com                80 27 Nov 2019 18:31:12 GMT (0.511) => -1574850643
burst: 1 try: 2 when: 500000
google.com                80 27 Nov 2019 18:31:13 GMT (0.400) => -1574850643
#: 1 mean: -1574850643 average: -1574850643.000
Setting -1574850643.000 seconds
Set: Wed Dec 31 16:00:00 1969

Time change failed
poll 1800 s

notice it attempts to set -157... / 'wed dec 31 1969'
I cant seem to uncover any way to fix this.

htpdate accuracy question

The accuracy of htpdate is at least -+0.5 seconds and better with multiple
servers, but huw muc hbetter?
the only way to improve the accuracy is this option?
-b
Burst mode uses multiple polls for each web server to enhance accuracy.

how to change the webservers in daemon mode?

I tried this -
sudo htpdate -D intranet.iitg.ernet.in
But I get this,
htpdate already running

Checking this,
ps aux | grep htpdate
I get,
/usr/sbin/htpdate -D -s -i /var/run/htpdate.pid www.pool.ntp.org www.ntp.br www.wikipedia.org
Is there any way to sync to my local webservers instead of syncing to wikipedia and ntp?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.