|
|
|
Use Growl to monitor long-running shell commands
This seems like it could be annoying, triggering when you don't want it (Commands like "less" can run for over 10 seconds, and I couldn't care less when it exits)
Instead of blacklisting or whitelisting applications, I found a little script ages you call like: gnotif gzip -9 somefile.tar Then when it completes, it creates a growl notification. It's similar to the 'time' command, you prepend it when you want to know how long a command takes. I've saved it to /usr/local/bin/ called 'gnotif'
Use Growl to monitor long-running shell commands
I had implemented your solution before reading this hint.
Unfortunately, I often realize a command will take longer than expected once it's already running (like a slow server with wget...). The idea in the hint is really great. Each reader will pick what he prefers. And both hints aren't exclusive (but you might want to add some code to prevent a double notification).
Use Growl to monitor long-running shell commands
See my solution: http://www.macosxhints.com/comment.php?mode=view&cid=91037
|
SearchFrom our Sponsor...What's New:HintsNo new hintsComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
The macosxhints PollWhat version of OS X are you running as your main OS?
Other polls | 11,373 votes | 42 comments
|
|
Copyright © 2009 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.04 seconds |
|