Script to set timezone based on location

RogerH
Contributor II

Hey everyone,
I want to set the timezone to automatic based on location. Whats the best way to do this?

2 REPLIES 2

jonnydford
Contributor II
defaults write /Library/Preferences/com.apple.timezone.auto Active -bool true

bpavlov
Honored Contributor