Mac consistently showing wrong time after sleep
Hi,
I have updated to macOS Sonoma (from Monterey) a couple of weeks ago. Since then, I have not only noticed my battery to drain quicker, but also the system clock to be off. This consistently happens after macOS wakes from sleep: it's behind the same amount of time as it slept. It doesn't resynchronize it either if I log in.
Automatic time synchronization is enabled, server is set to default (time.apple.com). Location services are enabled, and the timezone and region are correct. Attached is a screenshot of those settings.
I have a temporary 'bandaid' solution using sntp & crontab, which I will share below, but the root cause has not been fixed, and it's not 100% reliable.
That method is here:
- updateTimeLog.log
empty
2. updateTime.sh
sntp -sS time.apple.com
current_date_time=$(date)
echo "Syncing time at $current_date_time"
3. crontab (sudo priveleges, which is command: sudo crontab -e)
* * * * * /Users/yourUsername/updateTime.sh >> /Users/yourUsername/updateTimeLog.log 2>&1
My question is, what is the root cause of this issue, and how would I go about fixing it?
MacBook Air 13″