Product SiteDocumentation Site

14.3.6. Manually Adjusting the System Clock

To update, or step, the system clock immediately, bypassing any adjustments in progress by slewing the clock, issue the following commands as root:
~]# chronyc
      chrony> password commandkey-password
      200 OK
      chrony> makestep
      200 OK
Where commandkey-password is the command key or password stored in the key file.
If the rtcfile directive is used, the real-time clock should not be manually adjusted. Random adjustments would interfere with chrony's need to measure the rate at which the real-time clock drifts.
If chronyc is used to configure the local chronyd, the -a will run the authhash and password commands automatically. This means that the interactive session illustrated above can be replaced by:
chronyc -a makestep