Here’s the requested .plist file, insert your username (or the path where you’ve put the Apple Script) and save it to /Library/LaunchAgents/com.apple.tm-notification.plist. Then do
launchctl load /Library/LaunchAgents/com.apple.tm-notification.plist
Here’s the .plist file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.apple.tm-notification</string> <key>ProgramArguments</key> <array> <string>/usr/bin/osascript</string> <string>/Users/[user]/Public/tm.scpt</string> </array> <key>LowPriorityIO</key> <true/> <key>Nice</key> <integer>1</integer> <key>StartInterval</key> <integer>300</integer> </dict> </plist>
Tags: growl, os x, time machine

5 comments
Comments feed for this article
Trackback link
http://www.stopbeingcarbon.com/2008/01/time-machine-notifications-using-launchd/trackback/
January 3, 2008 at 23:34
Pingback from Stop Being Carbon · Time Machine notification with Growl
January 16, 2008 at 6:56
Bill
I hate to bother with such a beginner question, but which program do I use to save a plist file. Does the Script Editor allow this or do I just use textedit and change the extension? Thanks!
January 16, 2008 at 22:47
Christoph
You can just use textedit and save it as .plist, it’s plain-text.
February 1, 2008 at 1:00
Chris Carpenter
Once I run the launchctrl cmd above, is that it? I don’t have to run it again? Thanks!
February 1, 2008 at 17:41
Christoph
Yeah, that’s it. launctl will load the .plist file and remember it for the next system start.