timesyncscript

When using bootcamp to dual boot, you may notice the time gets out of sync on the Mac side. When it's off by more than five minutes, Directory Authentication will not work so I created this plist file that will force OS X to sync it's time on boot. Save the code to a file named code com.apple.timesync.plist code and place it in the foler code /Library/LaunchDaemons code The code causes OSX to update it's time when the login window appears and anytime the BootPicker log file is modified. I use [|BootPicker] to allow students to choose between XP or OS X when the machines boots. code  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  Label com.apple.timesync ProgramArguments /usr/sbin/ntpdate -buv RunAtLoad WatchPaths /Library/logs/bp.log code You can also create this file easily by using [|Lingon]. Check it out if you haven't heard of it before.