Created
May 6, 2012 05:51
-
-
Save tjluoma/2618760 to your computer and use it in GitHub Desktop.
Launch OmniFocus every 90 minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.launch-omnifocus</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>open</string> | |
<string>-g</string> | |
<string>-a</string> | |
<string>OmniFocus</string> | |
</array> | |
<key>StartInterval</key> | |
<integer>5400</integer> | |
</dict> | |
</plist> |
Note that this is designed to not cause OmniFocus to become active, just to make sure that it is launched. Otherwise it could take focus from whatever you were doing when it launches.
If you want OmniFocus to get "in your face" then remove the <string>-g</string>
line.
If you want to adjust how often it runs, change '5400' to however many seconds you want this to run (5400 = 60 seconds times 90 -- aka "every 90 minutes".)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
save to $HOME/Library/LaunchAgents/com.tjluoma.launch-omnifocus.plist
Then either logout and log back in, or simply tell
launchd
to run it by typing this into Terminal.app:launchctl load $HOME/Library/LaunchAgents/com.tjluoma.launch-omnifocus.plist