Skip to content

Instantly share code, notes, and snippets.

@sseidenthal
Last active December 23, 2016 21:54
Show Gist options
  • Save sseidenthal/724e29e00474fb7d59bbb06651737b89 to your computer and use it in GitHub Desktop.
Save sseidenthal/724e29e00474fb7d59bbb06651737b89 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>my_fancy_launchd_job</string>
<key>LowPriorityIO</key>
<false/>
<key>Nice</key>
<integer>0</integer>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>/bin/sh -c " ~/sync.sh -h my_remote_host -u my_user -s my_source_folder -d my_remote_folder"</string>
</array>
<key>ThrottleInterval</key>
<integer>0</integer>
<key>WatchPaths</key>
<array>
<string>my_project_folder_to_monitor</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment