Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Save this to ~/Library/LaunchAgents/com.tjluoma.ignitiononoroffatwork.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.tjluoma.IgnitionAtWork</string>
<key>Program</key>
<string>/usr/local/bin/IgnitionAtWork.sh</string>
<key>QueueDirectories</key>
<array>
<string>/Users/jsmyth/Dropbox/IFTTT/Automatic/IgnitionAtWork/</string>
</array>
<key>RunAtLoad</key>
<false/>
</dict>
</plist>
@tjluoma

This comment has been minimized.

Copy link
Owner Author

tjluoma commented Feb 12, 2015

  1. Be sure to change /usr/local/bin/IgnitionOnOrOffAtWork.sh to point to the shell script that you create.
  2. Change "/Users/jsmyth/Dropbox/IFTTT/Automatic/IgnitionOnOrOffAtWork/" to the full path to the folder which you will use. (note: you cannot use ~ or $HOME to refer to your home directory in launchd plists.

See also: https://gist.github.com/tjluoma/ad43de5abf3e6a657175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.