Can use ntpdate or rdate command to sync the datetime with remote server.

i.e.:

# ntpdate remote_server


or

# rdate -s remote_server


Also, sync the remote server periodically is a good idea!

# crontab -e

# auto sync with time server at 0:00 everyday
0 0 * * * rdate -t 60 -s stdtime.gov.hk

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
  • 2022-01-24
猜你喜欢
  • 2021-07-20
  • 2022-12-23
  • 2021-11-22
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案