Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

Ntpdate is depricated (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
add comment

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.