Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I managed to run ntpdate at a high priority. My initial thought is to use nice command, like:

nice -n -10 ntpdate -p 8 -u $NTP_TIME_SERVER

However, after checking the nice value of ntpdate command, it stays at -12, regardless of nice -n command.

Did anyone have same experience of modifying priority of ntpdate before? How can I configure ntpdate to make it work at a high priority? Thanks in advance. :-)

share|improve this question

Ntpdate is deprecated (see the disclaimer in the man page) and shouldn't be used. You can use ntpd -q to replicate the functionality of ntpdate. It is however better to setup ntpd to run continuously and adjust the system clock appropriately.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.