0

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. :-)

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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