iT邦幫忙

0

mac 讓時間定時與主機同步的方法

目前有想到在mac的terminal 上打
sudo ntpdate -u 192.168.xxx.xxx
然後打root密碼
這樣能讓mac時間同步,但我想要他自動執行,所以有辦法將這變成執行檔,然後再排程嗎?

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
CyberSerge
iT邦好手 1 級 ‧ 2017-05-18 23:49:25
最佳解答

see below article to sync time with NTP server
https://grok.lsu.edu/article.aspx?articleid=8102

If you want to make a script, systemsetup looks like the option you want
https://arstechnica.com/civis/viewtopic.php?t=34734

我要發表回答

立即登入回答