Skip to content

Instantly share code, notes, and snippets.

@oker1
Created September 16, 2012 13:39
Show Gist options
  • Save oker1/3732501 to your computer and use it in GitHub Desktop.
Save oker1/3732501 to your computer and use it in GitHub Desktop.
gmvault launchctl

launchctl load ~/Library/LaunchAgents/local.gmailbackup.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>local.gmailbackup</string>
<key>ProgramArguments</key>
<array>
<string>/Volumes/dat/Backups/Gmail/gmvault-v1.7-beta/bin/gmvault</string>
<string>sync</string>
<string>-t</string>
<string>quick</string>
<string>-d</string>
<string>/Volumes/dat/Backups/Gmail/gmvault-db</string>
<string>xxx@gmail.com</string>
</array>
<key>StartInterval</key>
<integer>900</integer>
<key>RunAtLoad</key>
<true />
<key>StandardErrorPath</key>
<string>/Volumes/dat/Backups/Gmail/backup.log</string>
<key>StandardOutPath</key>
<string>/Volumes/dat/Backups/Gmail/backup.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment