Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntp-client service - funtionality
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Wed Dec 08, 2010 4:55 pm    Post subject: ntp-client service - funtionality Reply with quote

I want to confirm or fix my memory that the ntp-client only updates the clock in these situations...

1. at boot time, when the service gets initially started, then no other automatic date/time updates after that until the next boot cycle.

2. when service is manually restarted, or some cron job restarts service.

and then it just flat updates time to the current time.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 229
Location: Detroit, MI, USA

PostPosted: Thu Dec 09, 2010 12:41 am    Post subject: Reply with quote

The init script just calls ntpdate in start() so yes, that is accurate.

If you are considering a cron job, use ntpd instead.
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Thu Dec 09, 2010 4:50 pm    Post subject: Reply with quote

Wasnt considering a cron job at all, just checking on the various ways ntp-client could execute. I am aware of ntpd. In this case, I don't want constant monitoring, just the update at boot up time.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum