My Catalina weirdly have drifting time, sometimes 5 minutes, 10 minutes, 19 minutes (in 1-2 hours), today it's drifting 40 minutes (in 4 hours). Is there any brew package/daemon that automatically sync the time every for example 5 minutes?
crontab -e * * * * * sntp -sS sg.pool.ntp.org * * * * * sudo sntp -sS sg.pool.ntp.org
but both resulting an error:
sntp firstname.lastname@example.org Tue Mar 21 14:36:42 UTC 2017 (139~6597) Can't open KOD db file /var/db/ntp-kod for writing: Permission denied 2021-10-14 09:59:00.339248 (-0700) +9.756839 +/- 6.545621 sg.pool.ntp.org 220.127.116.11 s2 no-leap step-systime: Operation not permitted
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper sudo: a password is required