本例以CentOS為系統操作
安裝 ntpdate服務 #yum -y install ntp 校正時間指令 #ntpdate time.stdtime.gov.tw 定時校正、以ctontab服務定時執行教正指令 #crontab -e 30 0 * * * /usr/sbin/ntpdate time.stdtime.gov.tw ※每日0點30分執行 ================================ 調整時區 #timedatectl set-timezone Asia/Taipei 查詢及確認當下時間 # date 確認當前時區 #ls -l /etc/localtime lrwxrwxrwx. 1 root root 33 Mar 18 13:02 /etc/localtime -> ../usr/share/zoneinfo/Asia/Taipei