Skip to content

Instantly share code, notes, and snippets.

@luizribeiro
Created January 20, 2020 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizribeiro/74aecee4088edc8500ca6ab05cd34cc9 to your computer and use it in GitHub Desktop.
Save luizribeiro/74aecee4088edc8500ca6ab05cd34cc9 to your computer and use it in GitHub Desktop.
<?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>local.backup</string>
<key>WorkingDirectory</key>
<string>/var/root</string>
<key>ProgramArguments</key>
<array>
<string>./backup.sh</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>HOME</key>
<string>/var/root</string>
</dict>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>5</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<key>Nice</key>
<integer>10</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment