|
|
Notify yourself periodically using Growl
If you really want this to go on forever ( instead of for just under a week ... :) ) you could use the following.
Note the use of "for ((;;))". A for loop like that is my preferred method of infinite looping. Also, you don't need the "s" to indicate seconds for sleep. It's informative, but the default is seconds. If you want this to go every 10 minutes, you could just use "10m" as the argument to sleep.
Replace the "echo with the growlnotify command of course---
Notify yourself periodically using Growl
Heh,
Using cron
Hah, I think it's amusing that I'm not the only one who has growl reminding himself to get up and drink water. :) I do it with cron though, every hour...
0 10-17 * * 1-5 /usr/local/bin/growlnotify -s -m "Drink some water" -I "/Users/dho/Documents/icons/drinX/Xwater/" &> /dev/null
Notify yourself periodically using Growl
Actually, the 's' and 'm' does not work on the "standard" version of sleep. You will have to convert it to the number of seconds. How about a much shorter version:
I am a fan of short and simple!! :-) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|