|
|
simplify using the at facility
$ echo '/usr/bin/say "get out"' | at 0900
simplify using the at facility
You can simplify the shell script itsel (somewhat...)
#!/bin/bash date "+%I %M %p. get to work" |say -v Victoriaor the non-US version: #!/bin/bash date "+%H %M. get to work" |say -v VictoriaTip 1: The options for the format string of date are listed in the strftime(3) man page (for which you have to install Developer Tools) Tip 2: No need to exit at the end of a shell script! It will exit with the return code of the last command executed.
Or in Jaguar ...
osascript -e 'say "Time to go to work."'
At facility disabled
From the at(1) man page on 10.3.3: |
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.14 seconds |
|