localtime / zone file / timezone / 時區設定


ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime

echo "Asia/Taipei" > /etc/timezone

ntpdate tw.pool.ntp.org

# ntpdate time.cloudflare.com
24 Feb 12:21:08 ntpdate[2673]: adjust time server 162.159.200.123 offset 0.007643 sec

0 * * * * /usr/sbin/ntpdate 172.25.0.24 2>&1 > /dev/null