Last active
December 21, 2015 04:39
-
-
Save stealthv/6250810 to your computer and use it in GitHub Desktop.
A launchd config file that will load AppViz 2 daily at 8 a.m. If you have AppViz 2 in `/Applications` then it should just work. If you have it in a different location you'll need to change the path.
Save in `~/Library/LaunchAgents` or `/Library/LaunchAgents` and relogin or restart.
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"> | |
<!-- based on https://gist.github.com/stealthv/6250810 by Bran Handley --> | |
<dict> | |
<key>Label</key> | |
<string>com.holeintheceiling.LaunchAppViz2Daily</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>open</string> | |
<string>-a</string> | |
<!--===================================================================================--> | |
<!-- If you have AppViz 2 in a user specific Applications folder then comment out the --> | |
<!-- next line and uncomment the second line. Make sure to replace <USERNAME> with --> | |
<!-- your username. --> | |
<string>/Applications/AppViz 2.app</string> | |
<!-- <string>/Users/<USERNAME>/Applications/AppViz 2.app</string> --> | |
<!--===================================================================================--> | |
</array> | |
<key>StartCalendarInterval</key> | |
<dict> | |
<!-- Launch at 8:00 am everyday, If computer is sleeping at that time it will run when next awoken. --> | |
<key>Hour</key> | |
<integer>8</integer> | |
<key>Minute</key> | |
<integer>0</integer> | |
</dict> | |
</dict> | |
</plist> | |
<!--===================================================================================--> | |
<!-- Save this file as --> | |
<!-- ~/Library/LaunchAgents/com.holeintheceiling.LaunchAppViz2Daily.plist --> | |
<!-- if it's just for you or --> | |
<!-- /Library/LaunchAgents/com.holeintheceiling.LaunchAppViz2Daily.plist --> | |
<!-- to apply for all users --> | |
<!-- Relogin or restart for launchd to load it. --> | |
<!--===================================================================================--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment