Skip to content

Instantly share code, notes, and snippets.

@mnuessler
Created April 26, 2019 11:14
Show Gist options
  • Save mnuessler/581a47432c65e3e6920bd0850ceaf550 to your computer and use it in GitHub Desktop.
Save mnuessler/581a47432c65e3e6920bd0850ceaf550 to your computer and use it in GitHub Desktop.
Launchd config for offlineimap
<?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>org.nuessler.mail.work</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/offlineimap</string>
<string>-o</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/bin:/usr/bin:/usr/local/bin</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>60</integer>
<key>TimeOut</key>
<integer>180</integer>
<key>StandardErrorPath</key>
<string>/Users/matthias.nuessler/log/offlineimap_error.log</string>
<key>StandardOutPath</key>
<string>/Users/matthias.nuessler/log/offlineimap.log</string>
<key>NetworkState</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment