# 自動較時chrony

參考

{% embed url="<https://www.linuxprobe.com/centos7-chrony-time.html>" %}

Chrony 可以同時扮演 NTP Client / Server，Chrony 的安裝工作僅僅只需要安裝後並服務啟動即可完成較時

Chrony 主要含有兩隻程式

* **chronyd** – 提供同步時間的系統服務 (daemon)
* **chronyc** – 以 command-line 方式與 **chronyd** 溝通以及設定.

設定檔位於 /etc/chrony/chrony.conf

**立即更新時間 – `chronyc makestep`**

chronyd & chronyc 的 manpage 寫的相當詳盡, 更多詳細用法可直接參考內部說明


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/zi-dong-jiao-shi-chrony.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
