This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Forcing synchronization of encryption status with SafeGuard 6.01 for Mac

It doesn't seem that the Contact Interval indicated by SafeGuard on the Mac actually means anything. To force the computer to update it's encryption status, we're trying out a launchd item. This will have the computer sync the status at login, and then again every three hours.

/Library/LaunchAgents/com.company.sgadmin_sync.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>com.company.sgadmin_sync</string>
	<key>ProgramArguments</key>
	<array>
		<string>/Library/Scripts/sgadmin_sync.sh</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
	<key>StartInterval</key>
	<integer>10800</integer>
</dict>
</plist>

 /Library/Scripts/sgadmin_sync.sh

#!/bin/sh

/usr/bin/sgadmin --synchronize

exit 0
:37451


This thread was automatically locked due to age.
Parents Reply Children
No Data