Re: Announce the time every 30 minutes
Re: Announce the time every 30 minutes
- Subject: Re: Announce the time every 30 minutes
- From: Benjamin Dobson <email@hidden>
- Date: Fri, 12 Dec 2008 21:30:35 +0000
On 12 Dec 2008, at 18:36:21, has wrote:
You could run 'say `date`' as a cron job.
Make sure to specify your own date format. The user's default one will
probably sound silly.
For example,
date "+The time now is %I:%m %p on %A %B %e %Y"
will return
The time now is 09:12 pm on Friday December 12 2008
The system voices will pick it up as a date and say "twelfth" instead
of "twelve". Compare this with my default format:
Fri 12 Dec 2008 21:27:14 GMT
I had to listen to that several times to work out what it was saying.
It is spoken ridiculously fast.
See date man page for more info.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden